Skip to content

Commit

Permalink
fix: attempt to disable disableidletimer when downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis committed Jul 23, 2024
1 parent 909d5c2 commit 2497374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions palera1nLoader/View/ManagerActions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 2497374

Please sign in to comment.