You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2024. It is now read-only.
and i'm listening for output device changes like this:
.onReceive(NotificationCenter.default.publisher(for: .defaultOutputDeviceChanged)){ _ in
if let outputDevice = simplyCA.defaultOutputDevice {
if outputDevice.name.contains("AirPods") {
isAirPodsConnected = true
} else {
isAirPodsConnected = false
}
}
}
The problem is when i connect my Airpods, the isMuted variable is triggered as true (but still able to hear sound). Only when Airpods are connected!! This make the text appear small, big when the volume change but goes back to small after no time... and if really muted, the text appear as big... it works the reverse way...
What i'm doing wrong? Thanks.