Fixed scroll issue
parent
454973f3cc
commit
abc65a9347
|
@ -273,17 +273,24 @@ export function SettingsScreen({}: Props) {
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CenteredView
|
<View style={s.hContentRegion} testID="settingsScreen">
|
||||||
style={[
|
<SimpleViewHeader
|
||||||
s.hContentRegion,
|
showBackButton={isMobile}
|
||||||
pal.border,
|
showOnDesktop
|
||||||
isTabletOrDesktop ? styles.desktopContainer : pal.viewLight,
|
style={[
|
||||||
]}
|
pal.border,
|
||||||
testID="settingsScreen">
|
{borderBottomWidth: 1},
|
||||||
<ViewHeader title={_(msg`Settings`)} showOnDesktop />
|
!isMobile && {borderLeftWidth: 1, borderRightWidth: 1},
|
||||||
|
]}>
|
||||||
|
<View style={{flex: 1}}>
|
||||||
|
<Text type="title-lg" style={[pal.text, {fontWeight: 'bold'}]}>
|
||||||
|
<Trans>{_(msg`Settings`)}</Trans>
|
||||||
|
</Text>
|
||||||
|
</View>
|
||||||
|
</SimpleViewHeader>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
style={[s.hContentRegion]}
|
style={[s.hContentRegion]}
|
||||||
contentContainerStyle={[isMobile && pal.viewLight, styles.noBorder]}
|
contentContainerStyle={[isMobile && pal.viewLight]}
|
||||||
scrollIndicatorInsets={{right: 1}}>
|
scrollIndicatorInsets={{right: 1}}>
|
||||||
<View style={styles.spacer20} />
|
<View style={styles.spacer20} />
|
||||||
{currentAccount ? (
|
{currentAccount ? (
|
||||||
|
@ -758,7 +765,7 @@ export function SettingsScreen({}: Props) {
|
||||||
</View>
|
</View>
|
||||||
<View style={s.footerSpacer} />
|
<View style={s.footerSpacer} />
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</CenteredView>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue