From d288c7bd03c918bfc636b6f49dce33e149476238 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 12 Feb 2020 17:40:56 +1100 Subject: [PATCH] secretPrompt fix --- _locales/en/messages.json | 3 +++ ts/components/session/RegistrationTabs.tsx | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index e7a051888..125279dc8 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1011,6 +1011,9 @@ "showPairingWordsTitle": { "message": "Pairing Secret Words" }, + "secretPrompt": { + "message": "Here is your secret" + }, "confirmUnpairingTitle": { "message": "Please confirm you want to unpair the following device:" }, diff --git a/ts/components/session/RegistrationTabs.tsx b/ts/components/session/RegistrationTabs.tsx index f70dd9f79..eee4c1a5e 100644 --- a/ts/components/session/RegistrationTabs.tsx +++ b/ts/components/session/RegistrationTabs.tsx @@ -864,7 +864,8 @@ export class RegistrationTabs extends React.Component<{}, State> { const words = window.mnemonic.pubkey_to_secret_words(pubkey); window.console.log(`Here is your secret:\n${words}`); window.pushToast({ - title: `${window.i18n('secretPrompt')} ${words}`, + title: `${window.i18n('secretPrompt')}`, + description: words, id: 'yourSecret', shouldFade: false, });