From f759c09dcad643a2a385103ef4d52e99b7832440 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 10 Feb 2023 19:38:56 +0400 Subject: [PATCH] Fix typo --- submodules/TelegramUI/Sources/ChatTranslationPanelNode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Sources/ChatTranslationPanelNode.swift b/submodules/TelegramUI/Sources/ChatTranslationPanelNode.swift index 8e2bc666af..eec1aaf56e 100644 --- a/submodules/TelegramUI/Sources/ChatTranslationPanelNode.swift +++ b/submodules/TelegramUI/Sources/ChatTranslationPanelNode.swift @@ -152,7 +152,7 @@ final class ChatTranslationPanelNode: ASDisplayNode { self.moreButton.frame = CGRect(origin: CGPoint(x: width - contentRightInset - moreButtonSize.width, y: floorToScreenPixels((panelHeight - moreButtonSize.height) / 2.0)), size: moreButtonSize) let closeButtonSize = self.closeButton.measure(CGSize(width: 100.0, height: 100.0)) - self.closeButton.frame: CGRect(origin: CGPoint(x: width - contentRightInset - closeButtonSize.width, y: floorToScreenPixels((panelHeight - closeButtonSize.height) / 2.0)), size: closeButtonSize) + self.closeButton.frame = CGRect(origin: CGPoint(x: width - contentRightInset - closeButtonSize.width, y: floorToScreenPixels((panelHeight - closeButtonSize.height) / 2.0)), size: closeButtonSize) if interfaceState.isPremium { self.moreButton.isHidden = false