mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Roll back activateNow
This commit is contained in:
@@ -422,7 +422,7 @@ public final class ManagedAudioSession {
|
|||||||
if let strongSelf = self {
|
if let strongSelf = self {
|
||||||
for holder in strongSelf.holders {
|
for holder in strongSelf.holders {
|
||||||
if holder.id == id && holder.active {
|
if holder.id == id && holder.active {
|
||||||
strongSelf.setup(type: audioSessionType, outputMode: holder.outputMode, activateNow: true)
|
strongSelf.setup(type: audioSessionType, outputMode: holder.outputMode, activateNow: false)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user