mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix accessibility swipe back gesture
This commit is contained in:
parent
adae15d010
commit
96abae091a
@ -99,9 +99,12 @@ private final class NavigationControllerNode: ASDisplayNode {
|
||||
}
|
||||
|
||||
override func accessibilityPerformEscape() -> Bool {
|
||||
if let controller = self.controller, controller.viewControllers.count > 1 {
|
||||
let _ = self.controller?.popViewController(animated: true)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
public protocol NavigationControllerDropContentItem: class {
|
||||
|
Loading…
x
Reference in New Issue
Block a user