mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
The battery widget is disabled by default on Desktop machines
This commit is contained in:
parent
726c010c9a
commit
1b0e401111
1 changed files with 4 additions and 1 deletions
|
|
@ -573,7 +573,10 @@ extension Defaults.Keys {
|
||||||
static let showPowerStatusIcons = Key<Bool>("showPowerStatusIcons", default: true)
|
static let showPowerStatusIcons = Key<Bool>("showPowerStatusIcons", default: true)
|
||||||
static let playLowBatteryAlertSound = Key<Bool>("playLowBatteryAlertSound", default: true)
|
static let playLowBatteryAlertSound = Key<Bool>("playLowBatteryAlertSound", default: true)
|
||||||
|
|
||||||
static let lockScreenBatteryShowsBatteryGauge = Key<Bool>("lockScreenWeatherShowsBatteryGauge", default: true)
|
static let lockScreenBatteryShowsBatteryGauge = Key<Bool>(
|
||||||
|
"lockScreenWeatherShowsBatteryGauge",
|
||||||
|
default: BatteryActivityManager.shared.hasBattery()
|
||||||
|
)
|
||||||
static let lockScreenBatteryUsesLaptopSymbol = Key<Bool>("lockScreenWeatherBatteryUsesLaptopSymbol", default: true)
|
static let lockScreenBatteryUsesLaptopSymbol = Key<Bool>("lockScreenWeatherBatteryUsesLaptopSymbol", default: true)
|
||||||
static let lockScreenBatteryShowsCharging = Key<Bool>("lockScreenWeatherShowsCharging", default: true)
|
static let lockScreenBatteryShowsCharging = Key<Bool>("lockScreenWeatherShowsCharging", default: true)
|
||||||
static let lockScreenBatteryShowsChargingPercentage = Key<Bool>("lockScreenWeatherShowsChargingPercentage", default: true)
|
static let lockScreenBatteryShowsChargingPercentage = Key<Bool>("lockScreenWeatherShowsChargingPercentage", default: true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue