From 1ff56084fe603c43909698e7535fefe1c290c2f9 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Fri, 3 Oct 2025 22:17:55 +0800 Subject: [PATCH] Decrease input width a bit --- .../ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift b/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift index c552349ab7..35c84819e5 100644 --- a/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift +++ b/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift @@ -112,7 +112,7 @@ private func calculateTextFieldRealInsets(presentationInterfaceState: ChatPresen var right: CGFloat = 0.0 right += max(0.0, accessoryButtonsWidth - 14.0) if actionControlsWidth != 0.0 { - right += actionControlsWidth - 14.0 + right += actionControlsWidth - 10.0 } return UIEdgeInsets(top: 4.5 + top, left: 0.0, bottom: 5.5 + bottom, right: right)