Compare commits

...

2 Commits

Author SHA1 Message Date
Brent Vatne
fbac47b696 Release 1.5.5 2018-03-14 21:35:26 -07:00
Brent Vatne
9aab47dac2 Apply horizontal icon style whenever we should use horizontal tabs in icon 2018-03-14 21:35:07 -07:00
3 changed files with 8 additions and 6 deletions

View File

@@ -119,6 +119,9 @@ const StacksInTabs = TabNavigator(
tabBarPosition: 'bottom',
animationEnabled: false,
swipeEnabled: false,
tabBarOptions: {
showLabel: false,
},
}
);

View File

@@ -1,6 +1,6 @@
{
"name": "react-navigation",
"version": "1.5.4",
"version": "1.5.5",
"description": "Routing and navigation for your React Native apps",
"main": "src/react-navigation.js",
"repository": {

View File

@@ -109,11 +109,10 @@ class TabBarBottom extends React.PureComponent {
inactiveTintColor={inactiveTintColor}
renderIcon={renderIcon}
scene={scene}
style={
showLabel && this._shouldUseHorizontalTabs()
? styles.horizontalIcon
: styles.icon
}
style={[
styles.icon,
this._shouldUseHorizontalTabs() && styles.horizontalIcon,
]}
/>
);
};