Skip to content

Commit

Permalink
1.1.2 Final
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantin Clerc committed Feb 22, 2024
1 parent 3aa7193 commit b89b73b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Geranium/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ struct SettingsView: View {
exitGracefully()
}, noCancel: true)
}
Toggle(isOn: $appSettings.tmpClean) {
Text("Clean tmp folder (Disable this if on iOS 15!)")
}
.onChange(of: appSettings.tmpClean) { newValue in
UIApplication.shared.confirmAlert(title: "You need to quit the app to apply changes.", body: "You might want to open it back.", onOK: {
exitGracefully()
}, noCancel: true)
}

if DebugStuff {
HStack {
Expand Down
3 changes: 3 additions & 0 deletions Geranium/Translations/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,9 @@
}
}
}
},
"Clean tmp folder (Disable this if on iOS 15!)" : {

},
"Cleaner" : {
"localizations" : {
Expand Down

0 comments on commit b89b73b

Please sign in to comment.