[WIP] Message preview

This commit is contained in:
Isaac
2024-05-16 23:04:02 +04:00
parent b40a6c413e
commit 5edecdb686
4 changed files with 249 additions and 74 deletions

View File

@@ -185,6 +185,7 @@ public func makeChatSendMessageActionSheetController(
sourceSendButton: ASDisplayNode,
textInputView: UITextView,
mediaPreview: ChatSendMessageContextScreenMediaPreview? = nil,
mediaCaptionIsAbove: (Bool, (Bool) -> Void)? = nil,
emojiViewProvider: ((ChatTextInputTextCustomEmojiAttribute) -> UIView)?,
wallpaperBackgroundNode: WallpaperBackgroundNode? = nil,
attachment: Bool = false,
@@ -228,6 +229,7 @@ public func makeChatSendMessageActionSheetController(
sourceSendButton: sourceSendButton,
textInputView: textInputView,
mediaPreview: mediaPreview,
mediaCaptionIsAbove: mediaCaptionIsAbove,
emojiViewProvider: emojiViewProvider,
wallpaperBackgroundNode: wallpaperBackgroundNode,
attachment: attachment,