From cf951c79932b7e04511b6262d3e14d656c6680bd Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 29 Jan 2024 00:54:20 +0400 Subject: [PATCH] Fix build --- .../Sources/ChatMessageAttachedContentNode.swift | 2 +- .../Sources/StoryItemSetContainerComponent.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/TelegramUI/Components/Chat/ChatMessageAttachedContentNode/Sources/ChatMessageAttachedContentNode.swift b/submodules/TelegramUI/Components/Chat/ChatMessageAttachedContentNode/Sources/ChatMessageAttachedContentNode.swift index 717f4cf93c..7e507c47c6 100644 --- a/submodules/TelegramUI/Components/Chat/ChatMessageAttachedContentNode/Sources/ChatMessageAttachedContentNode.swift +++ b/submodules/TelegramUI/Components/Chat/ChatMessageAttachedContentNode/Sources/ChatMessageAttachedContentNode.swift @@ -587,7 +587,7 @@ public final class ChatMessageAttachedContentNode: ASDisplayNode { let (buttonWidth, continueLayout) = makeActionButtonLayout( maxContentsWidth, - nil + nil, buttonIconImage, cornerIcon, actionTitle, diff --git a/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift b/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift index 2faf46080f..9f87f054d1 100644 --- a/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift +++ b/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift @@ -6302,7 +6302,7 @@ public final class StoryItemSetContainerComponent: Component { let (tip, tipSignal) = self.getLinkedStickerPacks() return .single(ContextController.Items(id: 0, content: .list(items), tip: tip, tipSignal: tipSignal)) - }) + } let contextController = ContextController(presentationData: presentationData, source: .reference(HeaderContextReferenceContentSource(controller: controller, sourceView: sourceView, position: .bottom)), items: contextItems, gesture: gesture) contextController.dismissed = { [weak self] in @@ -6586,7 +6586,7 @@ public final class StoryItemSetContainerComponent: Component { let (tip, tipSignal) = self.getLinkedStickerPacks() return .single(ContextController.Items(id: 0, content: .list(items), tip: tip, tipSignal: tipSignal)) - }) + } let contextController = ContextController(presentationData: presentationData, source: .reference(HeaderContextReferenceContentSource(controller: controller, sourceView: sourceView, position: .bottom)), items: contextItems, gesture: gesture) contextController.dismissed = { [weak self] in