fix(@desktop/browser): Sign message to dapp is broken

fixes #4154
This commit is contained in:
Khushboo Mehta 2021-11-23 13:32:42 +01:00 committed by r4bbit.eth
parent f475e7edbd
commit 5b9f5f5990
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import QtQuick 2.13
QtObject { QtObject {
id: root id: root
property var dappBrowserAccount: walletSectionAccounts.current property var dappBrowserAccount: walletSectionCurrent
property var accounts: walletSectionAccounts.model property var accounts: walletSectionAccounts.model
property string defaultCurrency: walletSection.currentCurrency property string defaultCurrency: walletSection.currentCurrency
property string signingPhrase: walletSection.signingPhrase property string signingPhrase: walletSection.signingPhrase

View File

@ -98,7 +98,7 @@ QtObject {
toastMessage.source = Style.svg("loading") toastMessage.source = Style.svg("loading")
toastMessage.iconColor = Style.current.primary toastMessage.iconColor = Style.current.primary
toastMessage.iconRotates = true toastMessage.iconRotates = true
toastMessage.link = `${_WalletStore.etherscanLink}/${responseObj.result.result}` toastMessage.link = `${WalletStore.etherscanLink}/${responseObj.result.result}`
toastMessage.open() toastMessage.open()
} catch (e) { } catch (e) {
if (Utils.isInvalidPasswordMessage(e.message)){ if (Utils.isInvalidPasswordMessage(e.message)){