From 62c1bd4b557a955199b3d012457d44775f018f3d Mon Sep 17 00:00:00 2001 From: ny Date: Fri, 11 Oct 2024 02:33:25 -0400 Subject: [PATCH] Add a max limit --- AltStore/Settings/SettingsViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/AltStore/Settings/SettingsViewController.swift b/AltStore/Settings/SettingsViewController.swift index 8022d510..0d61a2af 100644 --- a/AltStore/Settings/SettingsViewController.swift +++ b/AltStore/Settings/SettingsViewController.swift @@ -330,6 +330,7 @@ private extension SettingsViewController @IBAction func toggleDisableAppLimit(_ sender: UISwitch) { UserDefaults.standard.isAppLimitDisabled = sender.isOn + UserDefaults.standard.activeAppsLimit = sender.isOn ? Int.max : ALTActiveAppsLimit } @IBAction func toggleIsBackgroundRefreshEnabled(_ sender: UISwitch)