Fix build

This commit is contained in:
Ilya Laktyushin 2024-01-29 00:54:20 +04:00
parent 8d161b5e43
commit cf951c7993
2 changed files with 3 additions and 3 deletions

View File

@ -587,7 +587,7 @@ public final class ChatMessageAttachedContentNode: ASDisplayNode {
let (buttonWidth, continueLayout) = makeActionButtonLayout(
maxContentsWidth,
nil
nil,
buttonIconImage,
cornerIcon,
actionTitle,

View File

@ -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