Add silent posting in secret chats

This commit is contained in:
Ilya Laktyushin
2020-08-21 17:27:41 +03:00
parent 5f15fecb75
commit 3e88d177fd
7 changed files with 131 additions and 54 deletions

View File

@@ -84,12 +84,6 @@ final class ChatTextInputActionButtonsNode: ASDisplayNode {
self.micButtonPointerInteraction = PointerInteraction(view: self.micButton, style: .circle)
}
@objc func handleLongPress(_ gestureRecognizer: UILongPressGestureRecognizer) {
if !self.sendButtonHasApplyIcon && gestureRecognizer.state == .began {
//self.sendButtonLongPressed?()
}
}
func updateTheme(theme: PresentationTheme) {
self.micButton.updateTheme(theme: theme)
self.expandMediaInputButton.setImage(PresentationResourcesChat.chatInputPanelExpandButtonImage(theme), for: [])