Various call UI improvements

This commit is contained in:
Ilya Laktyushin
2020-08-10 16:49:08 +03:00
parent 18b9f405fc
commit d2f712266b
5 changed files with 16 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ private final class CallVideoNode: ASDisplayNode {
self.videoPausedNode = ImmediateTextNode()
self.videoPausedNode.alpha = 0.0
self.videoPausedNode.maximumNumberOfLines = 2
self.videoPausedNode.maximumNumberOfLines = 3
super.init()
@@ -920,8 +920,8 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro
}
}
statusValue = .timer({ value in
if isReconnecting {
statusValue = .timer({ value, measure in
if isReconnecting || (self.outgoingVideoViewRequested && value == "00:00" && !measure) {
return strings.Call_StatusConnecting
} else {
return value