adjusting top safe view in settings

This commit is contained in:
Roland Osborne 2023-08-24 13:24:02 -07:00
parent c7f993414b
commit 6bd073fdf9
2 changed files with 3 additions and 5 deletions

View File

@ -11,8 +11,8 @@ export function Settings() {
const { state, actions } = useSettings();
return (
<SafeAreaView edges={['top']} style={styles.container}>
<ScrollView style={styles.content}>
<SafeAreaView edges={['top']}>
<Text style={styles.label}>{ Strings[state.lang].messaging }</Text>
<View style={styles.group}>
@ -141,7 +141,7 @@ export function Settings() {
</TouchableOpacity>
</View>
</ScrollView>
</SafeAreaView>
</ScrollView>
);
}

View File

@ -2,15 +2,13 @@ import { StyleSheet } from 'react-native';
import { Colors } from 'constants/Colors';
export const styles = StyleSheet.create({
container: {
backgroundColor: Colors.screenBase,
},
content: {
width: '100%',
height: '100%',
display: 'flex',
paddingLeft: 16,
paddingRight: 16,
backgroundColor: Colors.screenBase,
},
label: {
color: Colors.text,