mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Only show battery widget settings on MacBooks
This commit is contained in:
parent
73a0c04e91
commit
b9b8aeeea6
2 changed files with 23 additions and 21 deletions
|
|
@ -8243,7 +8243,7 @@
|
|||
"Enable stats monitoring in Settings to view system performance data." : {
|
||||
|
||||
},
|
||||
"Enable the battery capsule and configure its layout" : {
|
||||
"Enable the battery capsule and configure its layout." : {
|
||||
|
||||
},
|
||||
"Enable the timer feature in Settings to access this tab." : {
|
||||
|
|
|
|||
|
|
@ -3228,6 +3228,7 @@ struct LockScreenSettings: View {
|
|||
Text("Enable the weather capsule and configure its layout, provider, units, and optional battery/AQI indicators.")
|
||||
}
|
||||
|
||||
if BatteryActivityManager.shared.hasBattery() {
|
||||
Section {
|
||||
Defaults.Toggle("Show battery indicator", key: .lockScreenWeatherShowsBatteryGauge)
|
||||
.settingsHighlight(id: highlightID("Show battery indicator"))
|
||||
|
|
@ -3252,6 +3253,7 @@ struct LockScreenSettings: View {
|
|||
} footer: {
|
||||
Text("Enable the battery capsule and configure its layout.")
|
||||
}
|
||||
}
|
||||
|
||||
Section {
|
||||
Defaults.Toggle("Show focus widget", key: .enableLockScreenFocusWidget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue