mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Add a few more checks for app limits
This commit is contained in:
@@ -1017,7 +1017,7 @@ private extension AppManager
|
||||
|
||||
func removeAppExtensions(from application: ALTApplication, extensions: Set<ALTApplication>, _ presentingViewController: UIViewController, completion: @escaping (Result<Void, Error>) -> Void)
|
||||
{
|
||||
guard !application.appExtensions.isEmpty else { return completion(.success(())) }
|
||||
guard !application.appExtensions.isEmpty, !UserDefaults.standard.isAppLimitDisabled else { return completion(.success(())) }
|
||||
|
||||
let firstSentence: String
|
||||
|
||||
|
||||
Reference in New Issue
Block a user