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; }