Skip to content

Commit

Permalink
it's easy for the back button to trigger a leftpanel reveal (#4438)
Browse files Browse the repository at this point in the history
- Fixed
  • Loading branch information
gileluard committed Jul 9, 2021
1 parent 4e34cb0 commit a929ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Riot/Modules/TabBar/TabBarCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a929ceb

Please sign in to comment.