From f5b28a2b8223e4af170bb905710a72c66ed2a619 Mon Sep 17 00:00:00 2001 From: Fares Marek Basmadji Date: Thu, 15 Apr 2021 15:13:20 +0100 Subject: [PATCH] separate methods instead of enum --- thrift/native.thrift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/thrift/native.thrift b/thrift/native.thrift index 970a129..934ffcc 100644 --- a/thrift/native.thrift +++ b/thrift/native.thrift @@ -70,11 +70,6 @@ enum PurchaseScreenReason { epic = 1 } -enum NavigationLink { - privacySettings = 0, - privacyPolicy = 1 -} - service Environment { string nativeThriftPackageVersion() } @@ -129,5 +124,6 @@ service Analytics { } service Navigation { - void navigateTo(1: NavigationLink link) + void openPrivacySettings(), + void openPrivacyPolicy() }