diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-16 11:41:59 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-16 11:41:59 -0500 |
commit | 93df983692ab9f1e0cdcce9a87396745aa992dda (patch) | |
tree | f44eceef849cef4e6277e25f5e6c9124c8000b8b /src/view/shell/index.tsx | |
parent | 64c8689a290927e9d1028366c5d6ac03a3b4197a (diff) | |
download | voidsky-93df983692ab9f1e0cdcce9a87396745aa992dda.tar.zst |
Disable the drawer and reset the nav when the user logs out or switches accounts
Diffstat (limited to 'src/view/shell/index.tsx')
-rw-r--r-- | src/view/shell/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index 15f9ef58c..d7877804b 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -46,7 +46,7 @@ const ShellInner = observer(() => { onOpen={onOpenDrawer} onClose={onCloseDrawer} swipeEdgeWidth={winDim.width} - swipeEnabled={!canGoBack}> + swipeEnabled={!canGoBack && store.session.hasSession}> <TabsNavigator /> </Drawer> </ErrorBoundary> |