From 26289113b30e7a8144d17fc9c01f59de8d49f86b Mon Sep 17 00:00:00 2001 From: Aleksander Rem Date: Sun, 6 Feb 2022 22:42:30 +0100 Subject: [PATCH] Import alert box and notification message --- .../import-wallet/import-wallet.component.html | 14 ++++++++++---- src/app/services/ledger.service.ts | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/app/components/import-wallet/import-wallet.component.html b/src/app/components/import-wallet/import-wallet.component.html index b87ee08..87a19c6 100644 --- a/src/app/components/import-wallet/import-wallet.component.html +++ b/src/app/components/import-wallet/import-wallet.component.html @@ -12,10 +12,16 @@
-
- You already have a local Nault wallet configured
- Before going any further, be 100% certain you have backed up the secret recovery phrase for your current wallet!
- Without it, any funds you have will become completely unrecoverable! +
+
+ You already have a local Nault wallet configured
+ Before going any further, be 100% certain you have backed up the secret recovery phrase for your current wallet!
+ Without it, any funds you have will become completely unrecoverable! +
+
+ You are about to import a new wallet, which will disconnect your Ledger device from Nault
+ If you need to use the Ledger wallet later, simply import your device again. +

Confirm Wallet Import

diff --git a/src/app/services/ledger.service.ts b/src/app/services/ledger.service.ts index 77d2630..0d00c54 100644 --- a/src/app/services/ledger.service.ts +++ b/src/app/services/ledger.service.ts @@ -320,7 +320,7 @@ export class LedgerService { this.ledger.status = LedgerStatus.NOT_CONNECTED; this.ledgerStatus$.next({ status: this.ledger.status, statusText: `Unable to load Ledger transport: ${err.message || err}` }); if (!hideNotifications) { - this.notifications.sendWarning(`Ledger transport failed. Make sure your Ledger is unlocked. Restart the nano app on your Ledger if the error persists`); + this.notifications.sendWarning(`Ledger connection failed. Make sure your Ledger is unlocked. Restart the nano app on your Ledger if the error persists`); } } this.resetLedger();