mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Update caps lock settings
This commit is contained in:
parent
168dc27af5
commit
776144064f
5 changed files with 56 additions and 5 deletions
|
|
@ -26,6 +26,7 @@ struct InlineHUD: View {
|
|||
@Default(.showBluetoothDeviceNameMarquee) var showBluetoothDeviceNameMarquee
|
||||
@Default(.enableMinimalisticUI) var enableMinimalisticUI
|
||||
@Default(.showCapsLockLabel) var showCapsLockLabel
|
||||
@Default(.capsLockIndicatorTintMode) var capsLockTintMode
|
||||
@ObservedObject var bluetoothManager = BluetoothAudioManager.shared
|
||||
|
||||
@State private var displayName: String = ""
|
||||
|
|
@ -33,7 +34,7 @@ struct InlineHUD: View {
|
|||
var body: some View {
|
||||
let useCircularIndicator = useCircularBluetoothBatteryIndicator
|
||||
let hasBatteryLevel = value > 0
|
||||
let capsLockAccentColor: Color = Defaults[.capsLockIndicatorUseGreenColor] ? .green : .white
|
||||
let capsLockAccentColor = capsLockTintMode.color
|
||||
|
||||
let baseInfoWidth: CGFloat = {
|
||||
if type == .bluetoothAudio {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue