diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-13 23:30:12 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-13 23:30:12 -0500 |
commit | 774fb8371905473b88b26c350818aa6b4bf1bac2 (patch) | |
tree | ceee7f24ce3696b8890ef7bb3eb42bb04ba1078e /src/view/shell/index.tsx | |
parent | b5c64a03b6cf91fb1699d2e87d3fded43a5dbb46 (diff) | |
download | voidsky-774fb8371905473b88b26c350818aa6b4bf1bac2.tar.zst |
Rework logged out state to preserve routing and work for web
Diffstat (limited to 'src/view/shell/index.tsx')
-rw-r--r-- | src/view/shell/index.tsx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index 116915ff4..15f9ef58c 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -5,7 +5,6 @@ import {useSafeAreaInsets} from 'react-native-safe-area-context' import {Drawer} from 'react-native-drawer-layout' import {useNavigationState} from '@react-navigation/native' import {useStores} from 'state/index' -import {Login} from 'view/screens/Login' import {ModalsContainer} from 'view/com/modals/Modal' import {Lightbox} from 'view/com/lightbox/Lightbox' import {Text} from 'view/com/util/text/Text' @@ -104,20 +103,6 @@ export const Shell: React.FC = observer(() => { ) } - if (!store.session.hasSession) { - return ( - <View style={styles.outerContainer}> - <StatusBar - barStyle={ - theme.colorScheme === 'dark' ? 'light-content' : 'dark-content' - } - /> - <Login /> - <ModalsContainer /> - </View> - ) - } - return ( <View testID="mobileShellView" style={[styles.outerContainer, pal.view]}> <StatusBar |