[WIP] Quotes

This commit is contained in:
Ali
2023-10-09 20:24:17 +04:00
parent afcc8f39f2
commit f1a9bec56d
31 changed files with 784 additions and 645 deletions

View File

@@ -369,7 +369,7 @@ final class PeerSelectionControllerNode: ASDisplayNode {
let chatController = strongSelf.context.sharedContext.makeChatController(
context: strongSelf.context,
chatLocation: .peer(id: strongSelf.context.account.peerId),
subject: .forwardedMessages(peerIds: peerIds, ids: strongSelf.presentationInterfaceState.interfaceState.forwardMessageIds ?? [], options: forwardOptions),
subject: .messageOptions(peerIds: peerIds, ids: strongSelf.presentationInterfaceState.interfaceState.forwardMessageIds ?? [], info: ChatControllerSubject.MessageOptionsInfo(kind: .forward), options: forwardOptions),
botStart: nil,
mode: .standard(previewing: true)
)
@@ -543,6 +543,7 @@ final class PeerSelectionControllerNode: ASDisplayNode {
}
contextController.immediateItemsTransitionAnimation = true
strongSelf.controller?.presentInGlobalOverlay(contextController)
}, presentReplyOptions: { _ in
}, shareSelectedMessages: {
}, updateTextInputStateAndMode: { [weak self] f in
if let strongSelf = self {