Review
This commit is contained in:
parent
f459310899
commit
0ab1b16383
|
@ -2488,6 +2488,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"setting.review" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Write a review"
|
||||
}
|
||||
},
|
||||
"fr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Écrivez un avis"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"setting.support" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
|
|
|
@ -5,6 +5,7 @@ import SwiftData
|
|||
import WatchConnectivity
|
||||
|
||||
struct SettingsView: View {
|
||||
@Environment(\.openURL) private var openURL: OpenURLAction
|
||||
@Environment(UniversalNavigator.self) private var uniNav: UniversalNavigator
|
||||
|
||||
@Query private var loggedAccounts: [LoggedAccount]
|
||||
|
@ -99,6 +100,13 @@ struct SettingsView: View {
|
|||
}
|
||||
.listRowThreaded()
|
||||
|
||||
Button {
|
||||
openURL(URL(string: "https://apps.apple.com/app/id6477757490?action=write-review")!)
|
||||
} label: {
|
||||
Label("setting.review", systemImage: "star.fill")
|
||||
}
|
||||
.listRowThreaded()
|
||||
|
||||
Button {
|
||||
navigator.navigate(to: .support)
|
||||
} label: {
|
||||
|
|
Loading…
Reference in New Issue