Android: Fix inverted list deprecated warnings on android (#1065)

This commit is contained in:
enahum 2017-10-26 09:16:54 -03:00 committed by GitHub
parent a13079b715
commit 685a56d24c

View file

@ -133,7 +133,10 @@ const styles = StyleSheet.create({
},
vertical: Platform.select({
android: {
scaleY: -1
transform: [
{perspective: 1},
{scaleY: -1}
]
},
ios: {
transform: [{scaleY: -1}]
@ -141,7 +144,10 @@ const styles = StyleSheet.create({
}),
horizontal: Platform.select({
android: {
scaleX: -1
transform: [
{perspective: 1},
{scaleY: -1}
]
},
ios: {
transform: [{scaleX: -1}]