From 291fc58e817c859cf3dfcca0a1c0342daee2dcf4 Mon Sep 17 00:00:00 2001 From: Aksels Ledins Date: Mon, 14 Jan 2019 22:16:47 +0100 Subject: [PATCH] screens ItineraryScreen : android expects a boolean --- src/screens/ItineraryScreen/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/screens/ItineraryScreen/index.js b/src/screens/ItineraryScreen/index.js index 8f89371..ef7356d 100644 --- a/src/screens/ItineraryScreen/index.js +++ b/src/screens/ItineraryScreen/index.js @@ -76,8 +76,6 @@ class ItineraryScreen extends React.Component { @@ -85,7 +83,7 @@ class ItineraryScreen extends React.Component { ref={c => { this.map = c; }} - onLayout={() => this.map.fitToElements()} + onLayout={() => this.map.fitToElements(true)} style={{ flexGrow: 1 }} initialRegion={{ latitude: 47.209136,