From c30141c4f0f6c1e12e5739febef717d8dbbd0a6a Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Thu, 21 Oct 2021 17:46:33 -0600 Subject: [PATCH] wiz messaging and alert (#713) Co-authored-by: Drew Ansbacher --- .../src/app/pages/success/success.page.html | 2 +- .../src/app/pages/success/success.page.ts | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/setup-wizard/src/app/pages/success/success.page.html b/setup-wizard/src/app/pages/success/success.page.html index 020025cc2..4e56b24cb 100644 --- a/setup-wizard/src/app/pages/success/success.page.html +++ b/setup-wizard/src/app/pages/success/success.page.html @@ -25,7 +25,7 @@ -

We suggest you copy and save your tor adress in a safe place.

+

We suggest you copy and save your tor adress in a safe place. This page will no longer be available once you access your Embassy.

{ + const alert = await this.alertCtrl.create({ + header: 'Please Save', + message: 'Make sure you save the address to your Embassy in a safe place.', + buttons: [ + { + text: 'OK', + role: 'cancel', + }, + ], + }) + + await alert.present() if (window.isSecureContext) { return navigator.clipboard.writeText(str) .then(() => {