Skip to content

Commit 7f35ff8

Browse files
committed
final fixes
1 parent b89b73b commit 7f35ff8

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

Geranium/SettingsView.swift

+5-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@ struct SettingsView: View {
140140
exitGracefully()
141141
}, noCancel: true)
142142
}
143-
Toggle(isOn: $appSettings.tmpClean) {
144-
Text("Clean tmp folder (Disable this if on iOS 15!)")
143+
Toggle(isOn: Binding<Bool>(
144+
get: { !appSettings.tmpClean },
145+
set: { appSettings.tmpClean = !$0 }
146+
)) {
147+
Text("Safe Clean Measures (Enable this if on iOS 15!)")
145148
}
146149
.onChange(of: appSettings.tmpClean) { newValue in
147150
UIApplication.shared.confirmAlert(title: "You need to quit the app to apply changes.", body: "You might want to open it back.", onOK: {

Geranium/Translations/Localizable.xcstrings

+21-3
Original file line numberDiff line numberDiff line change
@@ -1712,9 +1712,6 @@
17121712
}
17131713
}
17141714
}
1715-
},
1716-
"Clean tmp folder (Disable this if on iOS 15!)" : {
1717-
17181715
},
17191716
"Cleaner" : {
17201717
"localizations" : {
@@ -6110,6 +6107,27 @@
61106107
}
61116108
}
61126109
},
6110+
"Safe Clean Measures (Disable this if on iOS 15!)" : {
6111+
"extractionState" : "stale",
6112+
"localizations" : {
6113+
"fr" : {
6114+
"stringUnit" : {
6115+
"state" : "translated",
6116+
"value" : "Mesures de nettoyage sécurisé"
6117+
}
6118+
}
6119+
}
6120+
},
6121+
"Safe Clean Measures (Enable this if on iOS 15!)" : {
6122+
"localizations" : {
6123+
"fr" : {
6124+
"stringUnit" : {
6125+
"state" : "translated",
6126+
"value" : "Mesures de nettoyage sécurisé (Activez cela si vous êtes sur iOS 15!)"
6127+
}
6128+
}
6129+
}
6130+
},
61136131
"Save" : {
61146132
"localizations" : {
61156133
"es" : {

0 commit comments

Comments
 (0)