From 5b9f5f59901cec8bd8a74da8f635fc4942409c3e Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Tue, 23 Nov 2021 13:32:42 +0100 Subject: [PATCH] fix(@desktop/browser): Sign message to dapp is broken fixes #4154 --- ui/app/AppLayouts/Browser/stores/WalletStore.qml | 2 +- ui/app/AppLayouts/Browser/views/WebProviderObj.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Browser/stores/WalletStore.qml b/ui/app/AppLayouts/Browser/stores/WalletStore.qml index c72596fce6..5cd0af6a50 100644 --- a/ui/app/AppLayouts/Browser/stores/WalletStore.qml +++ b/ui/app/AppLayouts/Browser/stores/WalletStore.qml @@ -5,7 +5,7 @@ import QtQuick 2.13 QtObject { id: root - property var dappBrowserAccount: walletSectionAccounts.current + property var dappBrowserAccount: walletSectionCurrent property var accounts: walletSectionAccounts.model property string defaultCurrency: walletSection.currentCurrency property string signingPhrase: walletSection.signingPhrase diff --git a/ui/app/AppLayouts/Browser/views/WebProviderObj.qml b/ui/app/AppLayouts/Browser/views/WebProviderObj.qml index b83e5abe27..e34448fe63 100644 --- a/ui/app/AppLayouts/Browser/views/WebProviderObj.qml +++ b/ui/app/AppLayouts/Browser/views/WebProviderObj.qml @@ -98,7 +98,7 @@ QtObject { toastMessage.source = Style.svg("loading") toastMessage.iconColor = Style.current.primary toastMessage.iconRotates = true - toastMessage.link = `${_WalletStore.etherscanLink}/${responseObj.result.result}` + toastMessage.link = `${WalletStore.etherscanLink}/${responseObj.result.result}` toastMessage.open() } catch (e) { if (Utils.isInvalidPasswordMessage(e.message)){