diff options
Diffstat (limited to 'src/view/screens/Settings.tsx')
-rw-r--r-- | src/view/screens/Settings.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx index 6cf83c391..89e2d78b4 100644 --- a/src/view/screens/Settings.tsx +++ b/src/view/screens/Settings.tsx @@ -35,6 +35,7 @@ import {AccountData} from 'state/models/session' import {useAnalytics} from 'lib/analytics' import {NavigationProp} from 'lib/routes/types' import {pluralize} from 'lib/strings/helpers' +import {isDesktopWeb} from 'platform/detection' type Props = NativeStackScreenProps<CommonNavigatorParams, 'Settings'> export const SettingsScreen = withAuthRequired( @@ -139,9 +140,12 @@ export const SettingsScreen = withAuthRequired( }, [store]) return ( - <View style={[s.hContentRegion]} testID="settingsScreen"> - <ViewHeader title="Settings" showOnDesktop /> - <ScrollView style={s.hContentRegion} scrollIndicatorInsets={{right: 1}}> + <View style={s.hContentRegion} testID="settingsScreen"> + <ViewHeader title="Settings" /> + <ScrollView + style={s.hContentRegion} + contentContainerStyle={!isDesktopWeb && pal.viewLight} + scrollIndicatorInsets={{right: 1}}> <View style={styles.spacer20} /> <View style={[s.flexRow, styles.heading]}> <Text type="xl-bold" style={pal.text}> |