From 2593444b78b354f3133d1ed71b7d0b1b1b2d0eea Mon Sep 17 00:00:00 2001 From: Douglas Daniel Date: Wed, 26 Feb 2025 23:46:35 -0600 Subject: [PATCH] fix(wallet): Show Meld Opt In on Android (#27837) --- components/brave_wallet_ui/page/container.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/brave_wallet_ui/page/container.tsx b/components/brave_wallet_ui/page/container.tsx index 3b2a01f77e9a..24fb7690e9c9 100644 --- a/components/brave_wallet_ui/page/container.tsx +++ b/components/brave_wallet_ui/page/container.tsx @@ -16,7 +16,6 @@ import { isPersistableSessionRoute } from '../utils/routes-utils' import { LOCAL_STORAGE_KEYS } from '../common/constants/local-storage-keys' -import { loadTimeData } from '../../common/loadTimeData' // actions import * as WalletPageActions from './actions/wallet_page_actions' @@ -112,7 +111,6 @@ export const Container = () => { : isWalletLocked ? WalletRoutes.Unlock : sessionRoute || WalletRoutes.PortfolioAssets - const isAndroid = loadTimeData.getBoolean('isAndroid') || false // Methods const handleAcceptPartnerConsent = () => { @@ -154,13 +152,12 @@ export const Container = () => { React.useEffect(() => { if ( - !isAndroid && !acceptedPartnerConsentTerms && walletLocation.includes(WalletRoutes.FundWalletPageStart) ) { setShowPartnerConsentModal(true) } - }, [isAndroid, acceptedPartnerConsentTerms, walletLocation, history]) + }, [acceptedPartnerConsentTerms, walletLocation, history]) // render if (!hasInitialized) {