Made the Macbook icon available in inline mode too

This commit is contained in:
Hariharan Mudaliar 2025-12-09 13:21:01 +05:30
commit 0416115da5
No known key found for this signature in database
GPG key ID: D04F1C2B9194DDFC
3 changed files with 1 additions and 12 deletions

View file

@ -2696,14 +2696,7 @@ struct LockScreenSettings: View {
if lockScreenWeatherShowsBatteryGauge {
Defaults.Toggle("Use MacBook icon when on battery", key: .lockScreenWeatherBatteryUsesLaptopSymbol)
.disabled(lockScreenWeatherWidgetStyle != .circular)
.settingsHighlight(id: highlightID("Use MacBook icon when on battery"))
if lockScreenWeatherWidgetStyle != .circular {
Text("The MacBook icon is available only in the circular layout.")
.font(.caption)
.foregroundStyle(.secondary)
}
}
Defaults.Toggle("Show Bluetooth battery", key: .lockScreenWeatherShowsBluetooth)