mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Refactor text input
This commit is contained in:
@@ -4340,6 +4340,16 @@ extension ChatControllerImpl {
|
||||
return
|
||||
}
|
||||
self.openTodoEditing(messageId: messageId, itemId: itemId, append: append)
|
||||
}, displayUndo: { [weak self] content in
|
||||
guard let self else {
|
||||
return
|
||||
}
|
||||
self.controllerInteraction?.displayUndo(content)
|
||||
}, sendEmoji: { [weak self] text, attribute, immediately in
|
||||
guard let self else {
|
||||
return
|
||||
}
|
||||
self.controllerInteraction?.sendEmoji(text, attribute, immediately)
|
||||
}, updateHistoryFilter: { [weak self] update in
|
||||
guard let self else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user