mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Premium features
This commit is contained in:
@@ -22,7 +22,7 @@ enum SharedMediaPlayerGroup: Int {
|
||||
}
|
||||
|
||||
private let sharedAudioSession: ManagedAudioSession = {
|
||||
let audioSession = ManagedAudioSession()
|
||||
let audioSession = ManagedAudioSessionImpl()
|
||||
let _ = (audioSession.headsetConnected() |> deliverOnMainQueue).startStandalone(next: { value in
|
||||
DeviceProximityManager.shared().setGloballyEnabled(!value)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user