Voice Chat UI improvements

This commit is contained in:
Ilya Laktyushin
2020-12-09 17:02:22 +04:00
parent 7489524aa5
commit 8af1de7109
7 changed files with 148 additions and 65 deletions

View File

@@ -634,7 +634,7 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|> deliverOnMainQueue).start(next: { [weak self] call in
if let strongSelf = self {
if call !== strongSelf.groupCallController?.call {
strongSelf.groupCallController?.dismiss()
strongSelf.groupCallController?.dismiss(closing: true)
strongSelf.groupCallController = nil
strongSelf.hasOngoingCall.set(false)