mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix: Caps Lock View
This commit is contained in:
parent
5822d9a232
commit
168dc27af5
6 changed files with 100 additions and 38 deletions
|
|
@ -1735,11 +1735,6 @@ private struct DevicesSettingsView: View {
|
|||
Section {
|
||||
Defaults.Toggle("Show Bluetooth device connections", key: .showBluetoothDeviceConnections)
|
||||
.settingsHighlight(id: highlightID("Show Bluetooth device connections"))
|
||||
Defaults.Toggle("Show Caps Lock Indicator", key: .enableCapsLockIndicator)
|
||||
.settingsHighlight(id: highlightID("Show Caps Lock Indicator"))
|
||||
Defaults.Toggle("Use green color for Caps Lock text", key: .capsLockIndicatorUseGreenColor)
|
||||
.disabled(!Defaults[.enableCapsLockIndicator])
|
||||
.settingsHighlight(id: highlightID("Use green color for Caps Lock text"))
|
||||
Defaults.Toggle("Use circular battery indicator", key: .useCircularBluetoothBatteryIndicator)
|
||||
.settingsHighlight(id: highlightID("Use circular battery indicator"))
|
||||
Defaults.Toggle("Show battery percentage text in HUD", key: .showBluetoothBatteryPercentageText)
|
||||
|
|
@ -2644,6 +2639,23 @@ struct LiveActivitiesSettings: View {
|
|||
Text("Listens for Focus session changes via distributed notifications")
|
||||
}
|
||||
|
||||
Section {
|
||||
Defaults.Toggle("Show Caps Lock Indicator", key: .enableCapsLockIndicator)
|
||||
.settingsHighlight(id: highlightID("Show Caps Lock Indicator"))
|
||||
|
||||
Defaults.Toggle("Show Caps Lock label", key: .showCapsLockLabel)
|
||||
.disabled(!Defaults[.enableCapsLockIndicator])
|
||||
.settingsHighlight(id: highlightID("Show Caps Lock label"))
|
||||
|
||||
Defaults.Toggle("Use green color for Caps Lock text", key: .capsLockIndicatorUseGreenColor)
|
||||
.disabled(!Defaults[.enableCapsLockIndicator])
|
||||
.settingsHighlight(id: highlightID("Use green color for Caps Lock text"))
|
||||
} header: {
|
||||
Text("Caps Lock Indicator")
|
||||
} footer: {
|
||||
Text("Adds a notch HUD when Caps Lock is enabled, with optional label and tint controls.")
|
||||
}
|
||||
|
||||
Section {
|
||||
Defaults.Toggle("Enable Camera Detection", key: .enableCameraDetection)
|
||||
.settingsHighlight(id: highlightID("Enable Camera Detection"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue