From 28649d08d70ba73539a0f7290f1abca63c50b412 Mon Sep 17 00:00:00 2001 From: Keng Ye <40191153+kyleleow@users.noreply.github.com> Date: Tue, 14 Mar 2023 10:41:59 +0800 Subject: [PATCH] feat(ui-ux): add EUROC as currency in portfolio (#3935) feat: add EUROC as currency in portfolio --- .../AppNavigator/screens/Portfolio/PortfolioScreen.tsx | 6 ++++++ .../screens/Portfolio/components/TotalPortfolio.tsx | 1 + 2 files changed, 7 insertions(+) diff --git a/mobile-app/app/screens/AppNavigator/screens/Portfolio/PortfolioScreen.tsx b/mobile-app/app/screens/AppNavigator/screens/Portfolio/PortfolioScreen.tsx index 75c01d665f..9ba4b9227c 100644 --- a/mobile-app/app/screens/AppNavigator/screens/Portfolio/PortfolioScreen.tsx +++ b/mobile-app/app/screens/AppNavigator/screens/Portfolio/PortfolioScreen.tsx @@ -317,6 +317,12 @@ export function PortfolioScreen({ navigation }: Props): JSX.Element { handleOnPress: () => onPortfolioButtonGroupChange(PortfolioButtonGroupTabKey.USDC), }, + { + id: PortfolioButtonGroupTabKey.EUROC, + label: translate("screens/PortfolioScreen", "EUROC"), + handleOnPress: () => + onPortfolioButtonGroupChange(PortfolioButtonGroupTabKey.EUROC), + }, ]; // Asset sort bottom sheet list diff --git a/mobile-app/app/screens/AppNavigator/screens/Portfolio/components/TotalPortfolio.tsx b/mobile-app/app/screens/AppNavigator/screens/Portfolio/components/TotalPortfolio.tsx index edaca64d74..a54d54e673 100644 --- a/mobile-app/app/screens/AppNavigator/screens/Portfolio/components/TotalPortfolio.tsx +++ b/mobile-app/app/screens/AppNavigator/screens/Portfolio/components/TotalPortfolio.tsx @@ -23,6 +23,7 @@ export enum PortfolioButtonGroupTabKey { BTC = "BTC", DUSD = "DUSD", USDC = "USDC", + EUROC = "EUROC", } interface TotalPortfolioProps {