From 249737410849d107f045511822cfb4aca51868b5 Mon Sep 17 00:00:00 2001 From: khcrysalis <97859147+khcrysalis@users.noreply.github.com> Date: Tue, 23 Jul 2024 12:04:35 -0700 Subject: [PATCH] fix: attempt to disable disableidletimer when downloading --- palera1nLoader/View/ManagerActions.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/palera1nLoader/View/ManagerActions.swift b/palera1nLoader/View/ManagerActions.swift index 8e484ce5..351b5c6e 100644 --- a/palera1nLoader/View/ManagerActions.swift +++ b/palera1nLoader/View/ManagerActions.swift @@ -16,6 +16,7 @@ extension ViewController { #if !os(tvOS) self.hideStatusBar = true #endif + UIApplication.shared.isIdleTimerDisabled = true self.navigationController?.setNavigationBarHidden(true, animated: true) UIView.transition(with: self.containerView, duration: 0.5, options: .transitionFlipFromRight, animations: nil, completion: nil) }