diff --git a/src/app/components/configure-app/configure-app.component.ts b/src/app/components/configure-app/configure-app.component.ts index 1201ff7..49fb9d8 100644 --- a/src/app/components/configure-app/configure-app.component.ts +++ b/src/app/components/configure-app/configure-app.component.ts @@ -348,7 +348,13 @@ export class ConfigureAppComponent implements OnInit { if (resaveWallet && newStorage === this.storageOptions[1].value) { const UIkit = window['UIkit']; try { - await UIkit.modal.confirm('


' + this.translocoService.translate('configure-app.you-are-about-to-disable-storage-of-all-wallet-data-which') + '

' + this.translocoService.translate('reset-wallet.before-continuing-make-sure-you-have-saved-the-nano-seed') + '

' + this.translocoService.translate('reset-wallet.you-will-not-be-able-to-recover-the-funds-without-a-backup') + '


'); + await UIkit.modal.confirm( + `


+ + ${ this.translocoService.translate('configure-app.you-are-about-to-disable-storage-of-all-wallet-data-which') } +
+ ${ this.walletService.isConfigured() ? '
' + this.translocoService.translate('reset-wallet.before-continuing-make-sure-you-have-saved-the-nano-seed') + '

' + this.translocoService.translate('reset-wallet.you-will-not-be-able-to-recover-the-funds-without-a-backup') + '


' : '' }` + ); } catch (err) { // pressing cancel, reset storage setting and interrupt this.selectedStorage = this.storageOptions[0].value;