From 38aa5b2d36f572f0ac31474174f4612adda29f47 Mon Sep 17 00:00:00 2001 From: adammino-ledger Date: Mon, 25 Nov 2024 12:35:52 +0000 Subject: [PATCH 1/2] change label to yield for uk, earn for the rest for bottom navigator in llm --- .../src/components/RootNavigator/MainNavigator.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 => ( From 5a38a121a8928dfeea3516ad7fff52873079496e Mon Sep 17 00:00:00 2001 From: adammino-ledger Date: Mon, 25 Nov 2024 12:37:56 +0000 Subject: [PATCH 2/2] added changeset --- .changeset/ten-birds-admire.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/ten-birds-admire.md 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