Merge pull request 'fix(mobile): restore AirPlay picker taps' (#57) from t3/fix-airplay-picker-taps into main

This commit was merged in pull request #57.
This commit is contained in:
joshuafhiggins committed 2026-11-01 18:30:52 -05:00
commit 16f8f26220
1 file changed
+3 -2
@@ -26,8 +26,9 @@ final class AudioOutputView: ExpoView {
super.init(appContext: appContext)
picker.prioritizesVideoDevices = false
picker.backgroundColor = .clear
// Keep the native picker interactive without its route-dependent icon styling.
picker.layer.opacity = 0
// Hide only the native glyph. Making the picker transparent prevents taps.
picker.tintColor = .clear
picker.activeTintColor = .clear
addSubview(picker)
icon.contentMode = .center
icon.isUserInteractionEnabled = false