mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
it's easy for the back button to trigger a leftpanel reveal (#4438)
- Fixed
This commit is contained in:
parent
4e34cb0a9c
commit
a929ceb32e
1 changed files with 3 additions and 3 deletions
|
@ -245,9 +245,9 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
|
|||
}
|
||||
|
||||
private func setupSideMenuGestures() {
|
||||
self.parameters.appNavigator.sideMenu.addScreenEdgePanGesturesToPresent(to: self.masterNavigationController.view)
|
||||
|
||||
self.parameters.appNavigator.sideMenu.addPanGestureToPresent(to: self.masterNavigationController.navigationBar)
|
||||
if let rootViewController = self.masterNavigationController.viewControllers.first {
|
||||
self.parameters.appNavigator.sideMenu.addScreenEdgePanGesturesToPresent(to: rootViewController.view)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Navigation
|
||||
|
|
Loading…
Reference in a new issue