Skip to content

Commit

Permalink
screens ItineraryScreen : android expects a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
AkselsLedins committed Jan 14, 2019
1 parent 57b7388 commit 291fc58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/screens/ItineraryScreen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,14 @@ class ItineraryScreen extends React.Component {
<View>
<View
style={{
// paddingLeft: 8,
// paddingRight: 8,
backgroundColor: '#FFF',
}}>
<View style={styles.map}>
<MapView
ref={c => {
this.map = c;
}}
onLayout={() => this.map.fitToElements()}
onLayout={() => this.map.fitToElements(true)}
style={{ flexGrow: 1 }}
initialRegion={{
latitude: 47.209136,
Expand Down

0 comments on commit 291fc58

Please sign in to comment.