Android: Fix inverted list deprecated warnings on android (#1065)
This commit is contained in:
parent
a13079b715
commit
685a56d24c
1 changed files with 8 additions and 2 deletions
|
|
@ -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}]
|
||||
|
|
|
|||
Loading…
Reference in a new issue