diff --git a/build-system/bazel-rules/apple_support b/build-system/bazel-rules/apple_support index 501b4afb27..b8755bd288 160000 --- a/build-system/bazel-rules/apple_support +++ b/build-system/bazel-rules/apple_support @@ -1 +1 @@ -Subproject commit 501b4afb27745c4813a88ffa28acd901408014e4 +Subproject commit b8755bd2884d6bf651827c30e00bd0ea318e41a2 diff --git a/build-system/bazel-rules/rules_apple b/build-system/bazel-rules/rules_apple index 748e7e2b1e..d6f9a87d70 160000 --- a/build-system/bazel-rules/rules_apple +++ b/build-system/bazel-rules/rules_apple @@ -1 +1 @@ -Subproject commit 748e7e2b1ee5e8976ba873394cbd5e32b61818c7 +Subproject commit d6f9a87d70781e92b95b9344c7d21d921ccc3ae2 diff --git a/build-system/bazel-rules/rules_swift b/build-system/bazel-rules/rules_swift index 6408d85da7..44e8c29afe 160000 --- a/build-system/bazel-rules/rules_swift +++ b/build-system/bazel-rules/rules_swift @@ -1 +1 @@ -Subproject commit 6408d85da799ec2af053c4e2883dce3ce6d30f08 +Subproject commit 44e8c29afe3baa7f5fc434f4a7e83f7ac786644e diff --git a/build-system/bazel_version b/build-system/bazel_version index e3a4f19336..47b322c971 100644 --- a/build-system/bazel_version +++ b/build-system/bazel_version @@ -1 +1 @@ -2.2.0 \ No newline at end of file +3.4.1 diff --git a/build-system/tulsi b/build-system/tulsi index ee185c4c20..e890fb6c88 160000 --- a/build-system/tulsi +++ b/build-system/tulsi @@ -1 +1 @@ -Subproject commit ee185c4c20ea4384bc3cbf8ccd8705c904154abb +Subproject commit e890fb6c88846454c4f69abd8d265a302c0e80e4 diff --git a/submodules/CallListUI/Sources/CallListCallItem.swift b/submodules/CallListUI/Sources/CallListCallItem.swift index 3217d1d572..2db8cd7d54 100644 --- a/submodules/CallListUI/Sources/CallListCallItem.swift +++ b/submodules/CallListUI/Sources/CallListCallItem.swift @@ -139,8 +139,8 @@ class CallListCallItem: ListViewItem { for media in self.topMessage.media { if let action = media as? TelegramMediaAction { if case let .phoneCall(_, _, _, isVideoValue) = action.action { - break isVideo = isVideoValue + break } } } diff --git a/submodules/TelegramCallsUI/Sources/CallControllerNode.swift b/submodules/TelegramCallsUI/Sources/CallControllerNode.swift index 32cccf208a..01a859d569 100644 --- a/submodules/TelegramCallsUI/Sources/CallControllerNode.swift +++ b/submodules/TelegramCallsUI/Sources/CallControllerNode.swift @@ -251,14 +251,17 @@ private final class CallVideoNode: ASDisplayNode { } self.previousVideoHeight = rotatedVideoHeight transition.updatePosition(node: self.videoTransformContainer, position: CGPoint(x: size.width / 2.0, y: size.height / 2.0)) + transition.updateTransformRotation(view: self.videoTransformContainer.view, angle: rotationAngle) let localVideoFrame = CGRect(origin: CGPoint(), size: videoFrame.size) self.videoView.view.bounds = localVideoFrame self.videoView.view.center = localVideoFrame.center - transition.updateTransformRotation(view: self.videoView.view, angle: rotationAngle) + // TODO: properly fix the issue + // On iOS 13 and later metal layer transformation is broken if the layer does not require compositing + self.videoView.view.alpha = 0.995 if let effectView = self.effectView { - transition.updateFrame(view: effectView, frame: videoFrame) + transition.updateFrame(view: effectView, frame: localVideoFrame) } transition.updateCornerRadius(layer: self.layer, cornerRadius: self.currentCornerRadius) diff --git a/submodules/TgVoipWebrtc/tgcalls b/submodules/TgVoipWebrtc/tgcalls index e00b1c5d10..d27912dced 160000 --- a/submodules/TgVoipWebrtc/tgcalls +++ b/submodules/TgVoipWebrtc/tgcalls @@ -1 +1 @@ -Subproject commit e00b1c5d104fe778b9cd5986a5372056bd8405f7 +Subproject commit d27912dcedcd9f223fbdbbb5589b01839c256a8d