Update Settings and Decoupled Bluetooth

This commit is contained in:
Hariharan Mudaliar 2025-12-20 13:39:13 +05:30
commit 97b30858ca
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
6 changed files with 156 additions and 49 deletions

View file

@ -164,11 +164,9 @@ class DynamicIslandViewCoordinator: ObservableObject {
resolvedDuration = duration
}
sneakPeekDuration = resolvedDuration
if type != .music && type != .timer && type != .reminder {
// close()
if !Defaults[.enableSystemHUD] {
return
}
let bypassedTypes: [SneakContentType] = [.music, .timer, .reminder, .bluetoothAudio]
if !bypassedTypes.contains(type) && !Defaults[.enableSystemHUD] {
return
}
DispatchQueue.main.async {
withAnimation(.smooth) {