diff options
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r-- | src/view/shell/mobile/index.tsx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index c4ca7b9f5..b999d05d9 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -5,7 +5,6 @@ import { Easing, FlatList, GestureResponderEvent, - SafeAreaView, StatusBar, StyleSheet, TouchableOpacity, @@ -16,7 +15,6 @@ import { ViewStyle, } from 'react-native' import {ScreenContainer, Screen} from 'react-native-screens' -import LinearGradient from 'react-native-linear-gradient' import {useSafeAreaInsets} from 'react-native-safe-area-context' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {IconProp} from '@fortawesome/fontawesome-svg-core' @@ -34,7 +32,7 @@ import {Text} from '../../com/util/text/Text' import {ErrorBoundary} from '../../com/util/ErrorBoundary' import {TabsSelector} from './TabsSelector' import {Composer} from './Composer' -import {s, colors} from '../../lib/styles' +import {colors} from '../../lib/styles' import {clamp} from '../../../lib/numbers' import { GridIcon, @@ -323,18 +321,10 @@ export const MobileShell: React.FC = observer(() => { if (!store.session.hasSession) { return ( - <LinearGradient - colors={['#007CFF', '#00BCFF']} - start={{x: 0, y: 0.8}} - end={{x: 0, y: 1}} - style={styles.outerContainer}> - <SafeAreaView testID="noSessionView" style={styles.innerContainer}> - <ErrorBoundary> - <Login /> - </ErrorBoundary> - </SafeAreaView> + <View style={styles.outerContainer}> + <Login /> <Modal /> - </LinearGradient> + </View> ) } if (store.onboard.isOnboarding) { |