mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 07:34:32 +00:00
Update Timer Lock Screen Widget
This commit is contained in:
parent
6d6ffff5b0
commit
8be0c6540f
12 changed files with 636 additions and 7 deletions
|
|
@ -618,6 +618,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
await LockScreenWeatherManager.shared.refresh(force: true)
|
||||
}
|
||||
}
|
||||
|
||||
// Warm up the lock screen timer widget manager so it can observe timer/default
|
||||
// changes immediately instead of waiting for the first lock event.
|
||||
let timerWidgetManager = LockScreenTimerWidgetManager.shared
|
||||
timerWidgetManager.handleLockStateChange(isLocked: LockScreenManager.shared.currentLockStatus)
|
||||
}
|
||||
|
||||
func playWelcomeSound() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue