Skip to content

Commit

Permalink
Fix displaying active tab when search is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Oct 21, 2024
1 parent e07125b commit 0612b54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) {
<View>
<Icon
src={Expensicons.MoneySearch}
fill={selectedTab === SCREENS.SEARCH.BOTTOM_TAB ? theme.iconMenu : theme.icon}
fill={selectedTab === SCREENS.SEARCH.CENTRAL_PANE ? theme.iconMenu : theme.icon}
width={variables.iconBottomBar}
height={variables.iconBottomBar}
/>
Expand All @@ -148,7 +148,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) {
styles.textSmall,
styles.textAlignCenter,
styles.mt1Half,
selectedTab === SCREENS.SEARCH.BOTTOM_TAB ? styles.textBold : styles.textSupporting,
selectedTab === SCREENS.SEARCH.CENTRAL_PANE ? styles.textBold : styles.textSupporting,
styles.bottomTabBarLabel,
]}
>
Expand Down

0 comments on commit 0612b54

Please sign in to comment.