Skip to content

Commit

Permalink
fix: use network config code in minimum balance tooltip (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranroneill authored Dec 14, 2023
1 parent dda8586 commit 124c888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/extension/components/NativeBalance/NativeBalance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const NativeBalance: FC<IProps> = ({
minumumStandardUnit,
nativeCurrency.decimals
),
code: nativeCurrency.code.toLowerCase(),
})}
>
<span
Expand Down
2 changes: 1 addition & 1 deletion src/extension/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const translation: IResourceLanguage = {
'This account does not have the authority to alter this asset. This transaction will likely fail.',
maximumNativeCurrencyTransactionAmount:
'The maximum {{nativeCurrencyCode}} amount is calculated by: the balance ({{balance}}), minus the minimum balance needed to keep the account open ({{minBalance}}), minus the minimum transaction fee ({{minFee}})',
minimumBalance: `Minimum balance is {{amount}} algo. Based on the account configuration, this is the minimum balance needed to keep the account open.`,
minimumBalance: `Minimum balance is {{amount}} {{code}}. Based on the account configuration, this is the minimum balance needed to keep the account open.`,
mustEnterPasswordToConfirm: 'You must enter your password to confirm.',
mustEnterPasswordToSign: 'Enter your password to sign.',
mustEnterPasswordToSignSecurityToken:
Expand Down

0 comments on commit 124c888

Please sign in to comment.