changed so we use the cropToPreview parameter to crop the image

This commit is contained in:
Marcus Andersson
2017-12-20 20:19:05 +01:00
parent 19286de6be
commit da1f0f2fdd
4 changed files with 34 additions and 37 deletions
+2 -1
View File
@@ -13,9 +13,10 @@ const styles = StyleSheet.create({
flex: 1,
},
preview: {
flex: 1,
alignSelf: "stretch",
justifyContent: 'flex-end',
alignItems: 'center',
height: 200
},
overlay: {
position: 'absolute',