Skip to content

Commit

Permalink
fix i18n mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
benisgold committed Aug 14, 2024
1 parent 33c8024 commit 3ada8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/contacts/ContactRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const ContactRow = ({ address, color, nickname, symmetricalMargins, ...props },
const { colors } = useTheme();
const { accountType, balances, ens, image, label, network, onPress, showcaseItem, testID } = props;

const balanceText = balances ? balances.totalBalanceDisplay : lang.t('wallet.change_wallet.loading_balance');
const balanceText = balances ? balances.totalBalanceDisplay : i18n.t(i18n.l.wallet.change_wallet.loading_balance);

// show avatar for contact rows that are accounts, not contacts
const avatar = accountType !== 'contacts' ? returnStringFirstEmoji(label) || profileUtils.addressHashedEmoji(address) : null;
Expand Down

0 comments on commit 3ada8f0

Please sign in to comment.