From 303dee256361dec3da76ddc968b19043988c01a9 Mon Sep 17 00:00:00 2001 From: jinming Date: Fri, 13 Dec 2024 19:10:38 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Amulti=20address=20home=20color=20na?= =?UTF-8?q?me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mobile/src/screens/Home/MultiAddressHome.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/mobile/src/screens/Home/MultiAddressHome.tsx b/apps/mobile/src/screens/Home/MultiAddressHome.tsx index 70f8067a3..c3cbbe474 100644 --- a/apps/mobile/src/screens/Home/MultiAddressHome.tsx +++ b/apps/mobile/src/screens/Home/MultiAddressHome.tsx @@ -66,10 +66,8 @@ import { usePinAddresses, } from '@/hooks/account'; import { WalletIcon } from '@/components2024/WalletIcon/WalletIcon'; -import { isSameAddress } from '@rabby-wallet/base-utils/dist/isomorphic/address'; -import { sortAccountsByBalance } from '@/utils/account'; -import { KEYRING_CLASS } from '@rabby-wallet/keyring-utils'; import useHomePinAddress from './hooks/useHomePinAddress'; +import { ThemeColors2024 } from '@/constant/theme'; export function MultiAddressHomeHeader(prop): JSX.Element { const { loading } = prop; @@ -673,7 +671,9 @@ const getStyle = createGetStyles2024(({ colors2024, isLight }) => ({ padding: 8, paddingLeft: 14, borderRadius: 94, - backgroundColor: isLight ? '#131416' : colors2024['brand-default'], + backgroundColor: isLight + ? ThemeColors2024.dark['neutral-bg-1'] + : colors2024['brand-default'], shadowColor: colors2024['brand-light-1'], shadowOffset: { width: 0, height: 9.411 }, shadowOpacity: 0.1,