Merge pull request #11 from gustavo-em/margin_ios

Implementation correct of safe area view
pull/12/head
Tiago Jacobs 3 years ago committed by GitHub
commit d86f9b7a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save