fix(@browser): Fix disconnect when url is resolved by ens

This commit is contained in:
Anthony Laibe 2022-03-17 13:48:56 +01:00 committed by Anthony Laibe
parent 45deb4072e
commit 9c77f2162b
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ Rectangle {
}
}
onDisconnect: {
Web3ProviderStore.disconnect(Utils.getHostname(_internal.currentWebView.url))
Web3ProviderStore.disconnect(Utils.getHostname(browserHeader.addressBar.text))
provider.postMessage("web3-disconnect-account", "{}");
_internal.currentWebView.reload()
close()