File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ struct SettingsView: View {
64
64
. tag ( abbreviation)
65
65
}
66
66
}
67
+ . pickerStyle ( . menu)
67
68
. onChange ( of: localisation) { newValue in
68
69
UserDefaults . standard. set ( [ newValue] , forKey: " AppleLanguages " )
69
70
exitGracefully ( )
@@ -76,6 +77,9 @@ struct SettingsView: View {
76
77
Text ( " Debug Info " )
77
78
}
78
79
if DebugStuff {
80
+ Button ( " Set language to English " ) {
81
+ UserDefaults . standard. set ( [ " en " ] , forKey: " AppleLanguages " )
82
+ }
79
83
Text ( " UUID : \( appSettings. usrUUID) " )
80
84
Text ( " RootHelper Path : \( RootHelper . whatsthePath ( ) ) " )
81
85
if UIDevice . current. userInterfaceIdiom == . pad {
Original file line number Diff line number Diff line change 6069
6069
}
6070
6070
}
6071
6071
}
6072
+ },
6073
+ "Set language to English" : {
6074
+
6072
6075
},
6073
6076
"Settings" : {
6074
6077
"localizations" : {
You can’t perform that action at this time.
0 commit comments