Skip to content

Commit b89b73b

Browse files
committed
1.1.2 Final
1 parent 3aa7193 commit b89b73b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Geranium/SettingsView.swift

+8
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ 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!)")
145+
}
146+
.onChange(of: appSettings.tmpClean) { newValue in
147+
UIApplication.shared.confirmAlert(title: "You need to quit the app to apply changes.", body: "You might want to open it back.", onOK: {
148+
exitGracefully()
149+
}, noCancel: true)
150+
}
143151

144152
if DebugStuff {
145153
HStack {

Geranium/Translations/Localizable.xcstrings

+3
Original file line numberDiff line numberDiff line change
@@ -1712,6 +1712,9 @@
17121712
}
17131713
}
17141714
}
1715+
},
1716+
"Clean tmp folder (Disable this if on iOS 15!)" : {
1717+
17151718
},
17161719
"Cleaner" : {
17171720
"localizations" : {

0 commit comments

Comments
 (0)