mirror of
https://github.com/balzack/databag.git
synced 2025-04-20 08:35:15 +00:00
adjusting top safe view in settings
This commit is contained in:
parent
c7f993414b
commit
6bd073fdf9
@ -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>
|
||||
);
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user