Skip to content

Commit 625e87f

Browse files
committed
Fixed picker
1 parent ce3419a commit 625e87f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Geranium/SettingsView.swift

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ struct SettingsView: View {
6464
.tag(abbreviation)
6565
}
6666
}
67+
.pickerStyle(.menu)
6768
.onChange(of: localisation) { newValue in
6869
UserDefaults.standard.set([newValue], forKey: "AppleLanguages")
6970
exitGracefully()
@@ -76,6 +77,9 @@ struct SettingsView: View {
7677
Text("Debug Info")
7778
}
7879
if DebugStuff {
80+
Button("Set language to English") {
81+
UserDefaults.standard.set(["en"], forKey: "AppleLanguages")
82+
}
7983
Text("UUID : \(appSettings.usrUUID)")
8084
Text("RootHelper Path : \(RootHelper.whatsthePath())")
8185
if UIDevice.current.userInterfaceIdiom == .pad {

Geranium/Translations/Localizable.xcstrings

+3
Original file line numberDiff line numberDiff line change
@@ -6069,6 +6069,9 @@
60696069
}
60706070
}
60716071
}
6072+
},
6073+
"Set language to English" : {
6074+
60726075
},
60736076
"Settings" : {
60746077
"localizations" : {

0 commit comments

Comments
 (0)