Fixed scroll issue
parent
454973f3cc
commit
abc65a9347
|
@ -273,17 +273,24 @@ export function SettingsScreen({}: Props) {
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CenteredView
|
<View style={s.hContentRegion} testID="settingsScreen">
|
||||||
|
<SimpleViewHeader
|
||||||
|
showBackButton={isMobile}
|
||||||
|
showOnDesktop
|
||||||
style={[
|
style={[
|
||||||
s.hContentRegion,
|
|
||||||
pal.border,
|
pal.border,
|
||||||
isTabletOrDesktop ? styles.desktopContainer : pal.viewLight,
|
{borderBottomWidth: 1},
|
||||||
]}
|
!isMobile && {borderLeftWidth: 1, borderRightWidth: 1},
|
||||||
testID="settingsScreen">
|
]}>
|
||||||
<ViewHeader title={_(msg`Settings`)} showOnDesktop />
|
<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