diff --git a/packages/app-mobile/root.tsx b/packages/app-mobile/root.tsx index 925779ca4..5eb8944a2 100644 --- a/packages/app-mobile/root.tsx +++ b/packages/app-mobile/root.tsx @@ -1032,10 +1032,13 @@ class AppComponent extends React.Component { let sideMenuContent: ReactNode = null; let menuPosition: SideMenuPosition = 'left'; + let disableSideMenuGestures = this.props.disableSideMenuGestures; if (this.props.routeName === 'Note') { sideMenuContent = ; menuPosition = 'right'; + } else if (this.props.routeName === 'Config') { + disableSideMenuGestures = true; } else { sideMenuContent = ; } @@ -1076,7 +1079,7 @@ class AppComponent extends React.Component { openMenuOffset={this.state.sideMenuWidth} menuPosition={menuPosition} onChange={(isOpen: boolean) => this.sideMenu_change(isOpen)} - disableGestures={this.props.disableSideMenuGestures} + disableGestures={disableSideMenuGestures} onSliding={(percent: number) => { this.props.dispatch({ type: 'SIDE_MENU_OPEN_PERCENT',