From c50556452212af8b5ff1d5732dc5ed0cb0a163cf Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Fri, 21 Jan 2022 15:18:43 +0100 Subject: [PATCH] fix(@wallet): hide signing phrase accept fixes #4517 --- ui/app/AppLayouts/Wallet/WalletLayout.qml | 2 +- ui/app/AppLayouts/Wallet/stores/RootStore.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Wallet/WalletLayout.qml b/ui/app/AppLayouts/Wallet/WalletLayout.qml index 48d4841693..c03620f2dc 100644 --- a/ui/app/AppLayouts/Wallet/WalletLayout.qml +++ b/ui/app/AppLayouts/Wallet/WalletLayout.qml @@ -26,7 +26,7 @@ Item { SignPhraseModal { id: signPhrasePopup onRemindLaterClicked: hideSignPhraseModal = true - onAcceptClicked: { RootStore.hideSignPhraseModal(true); } + onAcceptClicked: { RootStore.setHideSignPhraseModal(true); } } SeedPhraseBackupWarning { diff --git a/ui/app/AppLayouts/Wallet/stores/RootStore.qml b/ui/app/AppLayouts/Wallet/stores/RootStore.qml index 94cbc80460..b46685f6b6 100644 --- a/ui/app/AppLayouts/Wallet/stores/RootStore.qml +++ b/ui/app/AppLayouts/Wallet/stores/RootStore.qml @@ -73,7 +73,7 @@ QtObject { } } - function hideSignPhraseModal(value) { + function setHideSignPhraseModal(value) { localAccountSensitiveSettings.hideSignPhraseModal = value; }