Skip to content

Commit

Permalink
separate methods instead of enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Fares Marek Basmadji committed Apr 15, 2021
1 parent 95d9b17 commit f5b28a2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions thrift/native.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ enum PurchaseScreenReason {
epic = 1
}

enum NavigationLink {
privacySettings = 0,
privacyPolicy = 1
}

service Environment {
string nativeThriftPackageVersion()
}
Expand Down Expand Up @@ -129,5 +124,6 @@ service Analytics {
}

service Navigation {
void navigateTo(1: NavigationLink link)
void openPrivacySettings(),
void openPrivacyPolicy()
}

0 comments on commit f5b28a2

Please sign in to comment.