Disable the drawer and reset the nav when the user logs out or switches accounts
This commit is contained in:
parent
64c8689a29
commit
93df983692
2 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,7 @@ const ShellInner = observer(() => {
|
|||
onOpen={onOpenDrawer}
|
||||
onClose={onCloseDrawer}
|
||||
swipeEdgeWidth={winDim.width}
|
||||
swipeEnabled={!canGoBack}>
|
||||
swipeEnabled={!canGoBack && store.session.hasSession}>
|
||||
<TabsNavigator />
|
||||
</Drawer>
|
||||
</ErrorBoundary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue