mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix accessibility swipe back gesture
This commit is contained in:
@@ -99,8 +99,11 @@ private final class NavigationControllerNode: ASDisplayNode {
|
||||
}
|
||||
|
||||
override func accessibilityPerformEscape() -> Bool {
|
||||
let _ = self.controller?.popViewController(animated: true)
|
||||
return true
|
||||
if let controller = self.controller, controller.viewControllers.count > 1 {
|
||||
let _ = self.controller?.popViewController(animated: true)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user