emplementation correct of safe area view

This commit is contained in:
Gustavo Emanuel Farias Rosa
2022-03-11 16:24:19 -03:00
parent 096333392a
commit aa2d2fdd86
2 changed files with 10 additions and 11 deletions

View File

@@ -4,12 +4,11 @@ import { TouchableOpacity } from 'react-native-gesture-handler';
import { SwipeListView } from 'react-native-swipe-list-view';
export const WrapperListContainer = styled.View`
export const WrapperListContainer = styled.SafeAreaView`
background-color: ${colors.secundary};
flex: 1 ;
justify-content: center;
align-items: center;
padding: 20px;
`;
export const WrapperList = styled.FlatList`
@@ -68,7 +67,7 @@ export const WrapperViewAdd = styled.View`
export const ButtonOpen = styled.TouchableOpacity`
padding: 10px;
background-color: ${colors.primary};
width: 90%;
width: 300px;
margin: 10px;
border-radius: 10px;