From a0a39026475450a47ccbda530cee2cbbaccf9455 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 10 Aug 2020 17:17:36 +0300 Subject: [PATCH] Fix automatic call UI hiding --- submodules/TelegramCallsUI/Sources/CallControllerNode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCallsUI/Sources/CallControllerNode.swift b/submodules/TelegramCallsUI/Sources/CallControllerNode.swift index 4dd655a994..5fbdcec3d6 100644 --- a/submodules/TelegramCallsUI/Sources/CallControllerNode.swift +++ b/submodules/TelegramCallsUI/Sources/CallControllerNode.swift @@ -1045,7 +1045,7 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro if let callState = strongSelf.callState, !strongSelf.isUIHidden { switch callState.state { case .active, .connecting, .reconnecting: - strongSelf.isUIHidden = false + strongSelf.isUIHidden = true updated = true default: break