Skip to content

Commit

Permalink
fix maps layout
Browse files Browse the repository at this point in the history
  • Loading branch information
c3bryant committed Feb 10, 2019
1 parent 74b364d commit 1f2783f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/styles/LayoutConstants.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Dimensions, StatusBar } from 'react-native'
import { deviceIphoneX } from '../util/general'
import { platformAndroid, deviceIphoneX } from '../util/general'

const WINDOW_WIDTH = Dimensions.get('window').width
const WINDOW_HEIGHT = Dimensions.get('window').height
const STATUS_BAR_HEIGHT = StatusBar.currentHeight
const STATUS_BAR_HEIGHT = platformAndroid() ? StatusBar.currentHeight : 0
const NAVIGATOR_HEIGHT = 42
const TAB_BAR_HEIGHT = deviceIphoneX() ? 31 : NAVIGATOR_HEIGHT
const MAX_CARD_WIDTH = WINDOW_WIDTH - 12
Expand Down

0 comments on commit 1f2783f

Please sign in to comment.