From ef636685328ea34a2bea74658391f8e81d74ea3e Mon Sep 17 00:00:00 2001 From: Vit Horacek <36083550+mountiny@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:38:38 +0000 Subject: [PATCH] Merge pull request #32270 from margelo/@chrispader/fix-wrong-money-request-button-color [CP Staging] Fix: Money request button color is wrong (cherry picked from commit ec8894136f652b8289a10b5ca85618f8a6eb4aa4) --- src/components/TabSelector/TabSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TabSelector/TabSelector.js b/src/components/TabSelector/TabSelector.js index cdec2a7e91e1..83601dbc27d8 100644 --- a/src/components/TabSelector/TabSelector.js +++ b/src/components/TabSelector/TabSelector.js @@ -102,7 +102,7 @@ function TabSelector({state, navigation, onTabPress, position}) { {_.map(state.routes, (route, index) => { const activeOpacity = getOpacity(position, state.routes.length, index, true, affectedAnimatedTabs); const inactiveOpacity = getOpacity(position, state.routes.length, index, false, affectedAnimatedTabs); - const backgroundColor = getBackgroundColor(position, state.routes.length, index, affectedAnimatedTabs); + const backgroundColor = getBackgroundColor(state.routes.length, index, affectedAnimatedTabs); const isFocused = index === state.index; const {icon, title} = getIconAndTitle(route.name, translate);