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" : {
|
"setting.support" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"en" : {
|
"en" : {
|
||||||
|
|
|
@ -5,6 +5,7 @@ import SwiftData
|
||||||
import WatchConnectivity
|
import WatchConnectivity
|
||||||
|
|
||||||
struct SettingsView: View {
|
struct SettingsView: View {
|
||||||
|
@Environment(\.openURL) private var openURL: OpenURLAction
|
||||||
@Environment(UniversalNavigator.self) private var uniNav: UniversalNavigator
|
@Environment(UniversalNavigator.self) private var uniNav: UniversalNavigator
|
||||||
|
|
||||||
@Query private var loggedAccounts: [LoggedAccount]
|
@Query private var loggedAccounts: [LoggedAccount]
|
||||||
|
@ -99,6 +100,13 @@ struct SettingsView: View {
|
||||||
}
|
}
|
||||||
.listRowThreaded()
|
.listRowThreaded()
|
||||||
|
|
||||||
|
Button {
|
||||||
|
openURL(URL(string: "https://apps.apple.com/app/id6477757490?action=write-review")!)
|
||||||
|
} label: {
|
||||||
|
Label("setting.review", systemImage: "star.fill")
|
||||||
|
}
|
||||||
|
.listRowThreaded()
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
navigator.navigate(to: .support)
|
navigator.navigate(to: .support)
|
||||||
} label: {
|
} label: {
|
||||||
|
|
Loading…
Reference in New Issue