react-navigation-tabs_adapting
Advanced tools
@@ -170,3 +170,3 @@ import React from 'react'; | ||
flex: 1, | ||
alignItems: isIos ? 'center' : 'stretch' | ||
alignItems: 'center' | ||
}, | ||
@@ -173,0 +173,0 @@ tabPortrait: { |
@@ -38,6 +38,6 @@ import React from 'react'; | ||
state = { statusBarHeight: 20 }; | ||
state = { statusBarHeight: isIos ? 20 : StatusBarManager.HEIGHT }; | ||
componentDidMount() { | ||
StatusBarManager.getHeight(({ height }) => this.setState({ statusBarHeight: height })); | ||
isIos && StatusBarManager.getHeight(({ height }) => this.setState({ statusBarHeight: height })); | ||
} | ||
@@ -182,3 +182,3 @@ | ||
flex: 1, | ||
alignItems: isIos ? 'center' : 'stretch' | ||
alignItems: 'center' | ||
}, | ||
@@ -185,0 +185,0 @@ tabPortrait: { |
{ | ||
"name": "react-navigation-tabs_adapting", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Tab Navigation components for React Navigation", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
42546
0.01%