Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- changed: Upgrade edge-core-js to v2.21.0
- changed: Filter CreateWalletItem list by networkLocation instead of tokenId
- changed: Update Ripple base reserve text strings
- changed: Enable `keysOnlyMode` for Binance Beacon Chain
- fixed: Default home/assets scene post-login based on last visited scene
- fixed: Receive flip input default currency selection
- removed: Keyboard autofocus from `WalletListModal`
Expand Down
3 changes: 2 additions & 1 deletion src/components/text/FiatText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as React from 'react'

import { useFiatText } from '../../hooks/useFiatText'
import { useTokenDisplayData } from '../../hooks/useTokenDisplayData'
import { isKeysOnlyPlugin } from '../../util/CurrencyInfoHelpers'

interface Props {
// Display options:
Expand Down Expand Up @@ -53,7 +54,7 @@ export const FiatText = ({
isoFiatCurrencyCode,
maxPrecision,
minPrecision,
nativeCryptoAmount,
nativeCryptoAmount: isKeysOnlyPlugin(wallet.currencyInfo.pluginId) ? '0' : nativeCryptoAmount,
subCentTruncation,
hideBalance
})
Expand Down
3 changes: 2 additions & 1 deletion src/components/themed/TransactionListTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { useDispatch, useSelector } from '../../types/reactRedux'
import { NavigationBase, WalletsTabSceneProps } from '../../types/routerTypes'
import { GuiExchangeRates } from '../../types/types'
import { CryptoAmount } from '../../util/CryptoAmount'
import { isKeysOnlyPlugin } from '../../util/CurrencyInfoHelpers'
import { triggerHaptic } from '../../util/haptic'
import { getFioStakingBalances, getPluginFromPolicy, getPositionAllocations } from '../../util/stakeUtils'
import { getUkCompliantString } from '../../util/ukComplianceUtils'
Expand Down Expand Up @@ -841,7 +842,7 @@ export function TransactionListTop(props: OwnProps) {
defaultFiat={defaultFiat}
displayDenomination={displayDenomination}
exchangeDenomination={exchangeDenomination}
exchangeRate={exchangeRate}
exchangeRate={isKeysOnlyPlugin(wallet.currencyInfo.pluginId) ? '0' : exchangeRate}
isAccountBalanceVisible={isAccountBalanceVisible}
exchangeRates={exchangeRates}
toggleBalanceVisibility={handleBalanceVisibility}
Expand Down
1 change: 1 addition & 0 deletions src/constants/WalletAndCurrencyConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ export const SPECIAL_CURRENCY_INFO: {
initWalletName: lstrings.string_first_bnb_wallet_name,
chainCode: 'BNB',
isImportKeySupported: true,
keysOnlyMode: true,
dummyPublicAddress: 'bnb1rt449yu7us6hmk4pmyr8talc60ydkwp4qkvcl7'
},
binancesmartchain: {
Expand Down
Loading