Merge pull request #11 from gustavo-em/margin_ios

Implementation correct of safe area view
This commit is contained in:
Tiago Jacobs 2022-03-12 15:40:35 -03:00 committed by GitHub
commit d86f9b7a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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