This commit is contained in:
lumaa-dev 2024-09-01 00:50:58 +02:00
parent f459310899
commit 0ab1b16383
2 changed files with 26 additions and 2 deletions

View File

@ -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" : {

View File

@ -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: {