Update wallet security banner (#1338)

* fix condition
* update text
This commit is contained in:
ekzyis 2024-08-27 17:16:41 -05:00 committed by GitHub
parent 3af43d74d3
commit 2503a3cb6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -129,8 +129,8 @@ export function WalletSecurityBanner () {
Wallet Security Disclaimer
</Alert.Heading>
<p className='mb-1'>
Your wallet's credentials are stored in the browser and never go to the server.<br />
However, you should definitely <strong>set a budget in your wallet</strong>.
Your wallet's credentials for spending are stored in the browser and never go to the server.
However, you should definitely <strong>set a budget in your wallet</strong> if you can.
</p>
<p>
Also, for the time being, you will have to reenter your credentials on other devices.

View File

@ -42,7 +42,7 @@ export default function WalletSettings () {
<CenterLayout>
<h2 className='pb-2'>{wallet.card.title}</h2>
<h6 className='text-muted text-center pb-3'><Text>{wallet.card.subtitle}</Text></h6>
{!wallet.walletType && wallet.hasConfig > 0 && <WalletSecurityBanner />}
{wallet.canSend && wallet.hasConfig > 0 && <WalletSecurityBanner />}
<Form
initial={initial}
{...validateProps}