mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add a button to iOS to leave a rating/review
This commit is contained in:
parent
3ab9e41b82
commit
eecfd1c402
1 changed files with 17 additions and 6 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue