mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 22:33:32 +08:00
Fix tab style in horizontal layout
This commit is contained in:
@@ -179,8 +179,9 @@ class TabBarBottom extends React.Component<Props> {
|
||||
|
||||
const tabBarStyle = [
|
||||
styles.tabBar,
|
||||
!Platform.isPad ? styles.tabBarCompact : styles.tabBarRegular,
|
||||
styles.tabBarRegular,
|
||||
this._shouldUseHorizontalTabs() && !Platform.isPad
|
||||
? styles.tabBarCompact
|
||||
: styles.tabBarRegular,
|
||||
style,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user