diff --git a/apps/wallet-mobile/src/features/Portfolio/common/TokenAmountItem/TokenAmountItem.tsx b/apps/wallet-mobile/src/features/Portfolio/common/TokenAmountItem/TokenAmountItem.tsx index 59c15b3336..95715bfb2a 100644 --- a/apps/wallet-mobile/src/features/Portfolio/common/TokenAmountItem/TokenAmountItem.tsx +++ b/apps/wallet-mobile/src/features/Portfolio/common/TokenAmountItem/TokenAmountItem.tsx @@ -41,7 +41,7 @@ export const TokenAmountItem = ({ const detail = isPrimary ? info.description : info.fingerprint const name = infoExtractName(info) - const formattedQuantity = !isPrivacyActive && ignorePrivacy == true ? amountFormatter()(amount) : privacyPlaceholder + const formattedQuantity = !isPrivacyActive || ignorePrivacy === true ? amountFormatter()(amount) : privacyPlaceholder const showSwapDetails = !isPrimary && variant === 'swap' const priceImpactRiskTextColor = orderType === 'market' ? priceImpactRiskTheme.text : colors.text diff --git a/apps/wallet-mobile/src/legacy/TxHistory/BalanceBanner.tsx b/apps/wallet-mobile/src/legacy/TxHistory/BalanceBanner.tsx index 3362677f1e..be39111f97 100644 --- a/apps/wallet-mobile/src/legacy/TxHistory/BalanceBanner.tsx +++ b/apps/wallet-mobile/src/legacy/TxHistory/BalanceBanner.tsx @@ -45,8 +45,6 @@ const Balance = ({amount, ignorePrivacy}: BalanceProps) => { const {isPrivacyActive, privacyPlaceholder} = usePrivacyMode() const styles = useStyles() - console.log('ignorePrivacy', ignorePrivacy) - const balance = React.useMemo( () => !isPrivacyActive || ignorePrivacy === true