Video Chat Improvements

This commit is contained in:
Ilya Laktyushin
2021-05-27 12:29:02 +04:00
parent 517b858168
commit 7b2ee7ac11
6 changed files with 26 additions and 20 deletions

View File

@@ -301,7 +301,7 @@ private class VoiceChatCameraPreviewControllerNode: ViewControllerTracingNode, U
}
self.readyDisposable.set(self.cameraNode.ready.start(next: { [weak self] ready in
if let strongSelf = self {
if let strongSelf = self, ready {
Queue.mainQueue().after(0.07) {
strongSelf.shimmerNode.alpha = 0.0
strongSelf.shimmerNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.3)