diff --git a/.changeset/ten-birds-admire.md b/.changeset/ten-birds-admire.md new file mode 100644 index 000000000000..f6cdd9725e96 --- /dev/null +++ b/.changeset/ten-birds-admire.md @@ -0,0 +1,5 @@ +--- +"live-mobile": minor +--- + +change bottom nav label for Earn to Yield just for UK locale diff --git a/apps/ledger-live-mobile/src/components/RootNavigator/MainNavigator.tsx b/apps/ledger-live-mobile/src/components/RootNavigator/MainNavigator.tsx index 1b79756aeb0a..10dbaa1175b1 100644 --- a/apps/ledger-live-mobile/src/components/RootNavigator/MainNavigator.tsx +++ b/apps/ledger-live-mobile/src/components/RootNavigator/MainNavigator.tsx @@ -20,6 +20,7 @@ import customTabBar from "../TabBar/CustomTabBar"; import { MainNavigatorParamList } from "./types/MainNavigator"; import { isMainNavigatorVisibleSelector } from "~/reducers/appstate"; import EarnLiveAppNavigator from "./EarnLiveAppNavigator"; +import { getStakeLabelLocaleBased } from "~/helpers/getStakeLabelLocaleBased"; const Tab = createBottomTabNavigator(); @@ -35,7 +36,7 @@ export default function MainNavigator() { const isMainNavigatorVisible = useSelector(isMainNavigatorVisibleSelector); const managerNavLockCallback = useManagerNavLockCallback(); const web3hub = useFeature("web3hub"); - + const earnYiedlLabel = getStakeLabelLocaleBased(); const insets = useSafeAreaInsets(); const tabBar = useMemo( () => @@ -108,7 +109,7 @@ export default function MainNavigator() { tabBarIcon: props => (