From 685a56d24ceafbf142af5f4c213ce317b69dec02 Mon Sep 17 00:00:00 2001 From: enahum Date: Thu, 26 Oct 2017 09:16:54 -0300 Subject: [PATCH] Android: Fix inverted list deprecated warnings on android (#1065) --- app/components/inverted_flat_list/index.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/components/inverted_flat_list/index.js b/app/components/inverted_flat_list/index.js index f07f8fc7d..e487abe21 100644 --- a/app/components/inverted_flat_list/index.js +++ b/app/components/inverted_flat_list/index.js @@ -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}]