Skip to content

Commit

Permalink
make sleepmanager is enable when app startup
Browse files Browse the repository at this point in the history
Signed-off-by: samzong <samzong.lu@gmail.com>
  • Loading branch information
samzong committed Dec 29, 2024
1 parent 60fed00 commit 64fcb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Managers/SleepManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Foundation
import IOKit.pwr_mgt

class SleepManager: ObservableObject {
@Published var preventSleep = false {
@Published var preventSleep = true {
didSet {
updateSleepAssertion()
}
Expand Down

0 comments on commit 64fcb89

Please sign in to comment.