File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
ui/app/AppLayouts/Browser/provider/qml Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import QtWebChannel
66import StatusQ.Core.Theme
77import utils
88
9- import "Utils.js" as Utils
9+ import "Utils.js" as BrowserUtils
1010
1111/**
1212 * ConnectorBridge
@@ -61,7 +61,7 @@ QtObject {
6161 const urlStr = url .toString ()
6262 connectorManager .dappUrl = urlStr
6363 connectorManager .dappOrigin = urlStr
64- connectorManager .dappName = name || Utils .extractDomainName (urlStr)
64+ connectorManager .dappName = name || BrowserUtils .extractDomainName (urlStr)
6565 connectorManager .dappChainId = 1
6666 }
6767
@@ -125,7 +125,7 @@ QtObject {
125125 readonly property Eip1193ProviderAdapter eip1193ProviderAdapter: Eip1193ProviderAdapter {
126126 WebChannel .id : " ethereumProvider"
127127
128- chainId: Utils .chainIdToHex (connectorManager .dappChainId )
128+ chainId: BrowserUtils .chainIdToHex (connectorManager .dappChainId )
129129 networkVersion: connectorManager .dappChainId .toString ()
130130 selectedAddress: connectorManager .accounts .length > 0 ? connectorManager .accounts [0 ] : " "
131131 accounts: connectorManager .accounts
Original file line number Diff line number Diff line change 1- import QtQuick 2.15
1+ import QtQuick
22import "Utils.js" as Utils
33
44QtObject {
Original file line number Diff line number Diff line change 1- import QtQuick 2.15
1+ import QtQuick
22
33QtObject {
44 id: root
You can’t perform that action at this time.
0 commit comments