Working Weather widget

This commit is contained in:
Hariharan Mudaliar 2025-10-19 22:55:59 +05:30
commit 7ae8f0bc7c
8 changed files with 302 additions and 1 deletions

View file

@ -336,6 +336,8 @@ extension Defaults.Keys {
static let showShuffleAndRepeat = Key<Bool>("showShuffleAndRepeat", default: false)
// Enable lock screen media widget (shows the standalone panel when screen is locked)
static let enableLockScreenMediaWidget = Key<Bool>("enableLockScreenMediaWidget", default: true)
static let enableLockScreenWeatherWidget = Key<Bool>("enableLockScreenWeatherWidget", default: true)
static let lockScreenWeatherRefreshInterval = Key<TimeInterval>("lockScreenWeatherRefreshInterval", default: 30 * 60)
static let lockScreenGlassStyle = Key<LockScreenGlassStyle>("lockScreenGlassStyle", default: .liquid)
static let lockScreenShowAppIcon = Key<Bool>("lockScreenShowAppIcon", default: false)
static let lockScreenPanelShowsBorder = Key<Bool>("lockScreenPanelShowsBorder", default: true)