diff --git a/submodules/DebugSettingsUI/Sources/DebugController.swift b/submodules/DebugSettingsUI/Sources/DebugController.swift index 3306ca3940..2c26c578d1 100644 --- a/submodules/DebugSettingsUI/Sources/DebugController.swift +++ b/submodules/DebugSettingsUI/Sources/DebugController.swift @@ -420,8 +420,8 @@ private enum DebugControllerEntry: ItemListNodeEntry { fileName = "Log-iOS-Swiftgram.txt" appName = "Swiftgram" } - return ItemListDisclosureItem(presentationData: presentationData, systemStyle: .glass, title: title, sectionId: self.section, style: .blocks, action: { - let _ = (Logger.shared.collectLogs() + return ItemListDisclosureItem(presentationData: presentationData, systemStyle: .glass, title: title, label: "", sectionId: self.section, style: .blocks, action: { + let _ = (logCollectionSignal |> deliverOnMainQueue).start(next: { logs in let presentationData = arguments.sharedContext.currentPresentationData.with { $0 } let actionSheet = ActionSheetController(presentationData: presentationData) diff --git a/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelComponent.swift b/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelComponent.swift index 88c90e22f5..2050b20bfd 100644 --- a/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelComponent.swift +++ b/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelComponent.swift @@ -418,11 +418,11 @@ public final class ChatTextInputPanelComponent: Component { deleteMessages: { _, _, f in f(.default) }, - forwardSelectedMessages: { + forwardSelectedMessages: { _ in }, forwardCurrentForwardMessages: { }, - forwardMessages: { _ in + forwardMessages: { _, _ in }, updateForwardOptionsState: { _ in }, diff --git a/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift b/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift index dc476b91be..ef37494de1 100644 --- a/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift +++ b/submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/ChatTextInputPanelNode.swift @@ -2255,7 +2255,6 @@ public class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDeleg } // MARK: Swiftgram let originalLeftInset = leftInset - var leftInset = leftInset // let textInputBackgroundWidthOffset: CGFloat = 0.0