mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Add a max limit
This commit is contained in:
@@ -330,6 +330,7 @@ private extension SettingsViewController
|
|||||||
|
|
||||||
@IBAction func toggleDisableAppLimit(_ sender: UISwitch) {
|
@IBAction func toggleDisableAppLimit(_ sender: UISwitch) {
|
||||||
UserDefaults.standard.isAppLimitDisabled = sender.isOn
|
UserDefaults.standard.isAppLimitDisabled = sender.isOn
|
||||||
|
UserDefaults.standard.activeAppsLimit = sender.isOn ? Int.max : ALTActiveAppsLimit
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func toggleIsBackgroundRefreshEnabled(_ sender: UISwitch)
|
@IBAction func toggleIsBackgroundRefreshEnabled(_ sender: UISwitch)
|
||||||
|
|||||||
Reference in New Issue
Block a user