mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Fix push to talk state
This commit is contained in:
parent
704770f5ee
commit
1cf4cedbf2
@ -610,6 +610,8 @@ private final class VideoChatScreenComponent: Component {
|
|||||||
self.state?.updated(transition: .spring(duration: 0.5))
|
self.state?.updated(transition: .spring(duration: 0.5))
|
||||||
} else {
|
} else {
|
||||||
component.call.setIsMuted(action: .muted(isPushToTalkActive: false))
|
component.call.setIsMuted(action: .muted(isPushToTalkActive: false))
|
||||||
|
self.isPushToTalkActive = false
|
||||||
|
self.state?.updated(transition: .spring(duration: 0.5))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)),
|
)),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user