Merge pull request #3670 from omnivore-app/feat/ios-rate-button

Add a button to iOS to leave a rating/review
This commit is contained in:
Jackson Harper
2024-03-14 12:54:30 +08:00
committed by GitHub

View File

@ -155,12 +155,21 @@ struct ProfileView: View {
label: { Text(LocalText.documentationGeneric) }
)
#if os(iOS)
Button(
action: { DataService.showIntercomMessenger?() },
label: { Text(LocalText.feedbackGeneric) }
)
#endif
#if os(iOS)
Button(
action: { DataService.showIntercomMessenger?() },
label: { Text(LocalText.feedbackGeneric) }
)
#endif
Button(
action: {
if let url = URL(string: "https://apps.apple.com/app/id1564031042?action=write-review") {
openURL(url)
}
},
label: { Text("Review Omnivore") }
)
Button(
action: {
@ -170,7 +179,9 @@ struct ProfileView: View {
},
label: { Text("Join community on Discord") }
)
}
Section {
Button(
action: {
if let url = URL(string: "https://omnivore.app/privacy") {