@@ -225,7 +225,6 @@ StatusSectionLayout {
225225 isLoading: (!! _internal .currentWebView && _internal .currentWebView .loading )
226226 canGoBack: (!! _internal .currentWebView && _internal .currentWebView .canGoBack )
227227 canGoForward: (!! _internal .currentWebView && _internal .currentWebView .canGoForward )
228- currentTabConnected: root .browserRootStore .currentTabConnected
229228 browserDappsModel: browserDappsProvider .model
230229 browserDappsCount: browserDappsProvider .model ? browserDappsProvider .model .count : 0
231230 onOpenHistoryPopup : (xPos , yPos ) => historyMenu .popup (xPos, yPos)
@@ -425,7 +424,6 @@ StatusSectionLayout {
425424 Component {
426425 id: browserWalletMenu
427426 BrowserWalletMenu {
428- currentTabConnected: root .browserRootStore .currentTabConnected
429427 browserWalletStore: root .browserWalletStore
430428 property point headerPoint: Qt .point (browserHeader .x , browserHeader .y )
431429 x: (parent .width - width - Theme .halfPadding )
@@ -438,11 +436,6 @@ StatusSectionLayout {
438436 tabs .getTab (i).reload ();
439437 }
440438 }
441- onDisconnect: {
442- connectorBridge .disconnectCurrentTab ()
443- _internal .currentWebView .reload ()
444- close ()
445- }
446439 }
447440 }
448441 }
@@ -614,18 +607,6 @@ StatusSectionLayout {
614607 target: _internal .currentWebView
615608 function onUrlChanged () {
616609 browserHeader .addressBar .text = root .browserRootStore .obtainAddress (_internal .currentWebView .url )
617-
618- if (_internal .currentWebView && _internal .currentWebView .url ) {
619- const urlStr = _internal .currentWebView .url .toString ()
620- const hostname = Utils .getHostname (urlStr)
621-
622- root .browserRootStore .currentTabConnected = connectorBridge .hasWalletConnected (
623- hostname,
624- root .browserWalletStore .dappBrowserAccount .address
625- )
626- } else {
627- root .browserRootStore .currentTabConnected = false
628- }
629610
630611 // Update ConnectorBridge with current dApp metadata
631612 if (_internal .currentWebView && _internal .currentWebView .url ) {
0 commit comments