mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Update Settings and Decoupled Bluetooth
This commit is contained in:
parent
7e9fc2ecb8
commit
97b30858ca
6 changed files with 156 additions and 49 deletions
|
|
@ -1456,6 +1456,14 @@ class BluetoothAudioManager: ObservableObject {
|
|||
func refreshConnectedDeviceBatteries() {
|
||||
refreshBatteryLevelsForConnectedDevices()
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func activeDeviceIconSymbol() -> String? {
|
||||
if let prioritizedDevice = connectedDevices.last ?? lastConnectedDevice {
|
||||
return prioritizedDevice.deviceType.sfSymbol
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - CoreBluetooth Battery Reader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue