Voice Chat UI improvements

This commit is contained in:
Ilya Laktyushin
2020-12-13 17:11:55 +04:00
parent dc1006617b
commit 49df81422b
20 changed files with 767 additions and 510 deletions

View File

@@ -82,8 +82,8 @@ public final class PresentationCallManagerImpl: PresentationCallManager {
|> distinctUntilChanged
}
public var hasActiveGroupCall: Bool {
return self.currentGroupCall != nil
public var hasActiveCall: Bool {
return self.currentCall != nil || self.currentGroupCall != nil
}
private let currentCallPromise = Promise<PresentationCall?>(nil)