mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Various fixes
This commit is contained in:
parent
f84696827c
commit
642e6d2448
@ -715,8 +715,10 @@ public final class StoryItemSetContainerComponent: Component {
|
|||||||
|
|
||||||
@objc private func tapGesture(_ recognizer: UITapGestureRecognizer) {
|
@objc private func tapGesture(_ recognizer: UITapGestureRecognizer) {
|
||||||
if case .ended = recognizer.state, let component = self.component, let itemLayout = self.itemLayout {
|
if case .ended = recognizer.state, let component = self.component, let itemLayout = self.itemLayout {
|
||||||
if hasFirstResponder(self) || self.sendMessageContext.currentInputMode == .media {
|
if self.hasActiveDeactivateableInput() {
|
||||||
self.deactivateInput()
|
Queue.mainQueue().justDispatch {
|
||||||
|
self.deactivateInput()
|
||||||
|
}
|
||||||
} else if self.displayViewList {
|
} else if self.displayViewList {
|
||||||
let point = recognizer.location(in: self)
|
let point = recognizer.location(in: self)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user