chore(dapps) move wallet connect service code outside popups

Updates: #14607
This commit is contained in:
Stefan 2024-05-06 13:46:48 +02:00 committed by Stefan Dunca
parent fc582776c0
commit 78775d3d69
15 changed files with 7 additions and 6 deletions

View File

@ -15,6 +15,7 @@ import Models 1.0
import Storybook 1.0
import AppLayouts.Wallet.controls 1.0
import AppLayouts.Wallet.services.dapps 1.0
import SortFilterProxyModel 0.2

View File

@ -1,6 +1,6 @@
import QtQuick 2.15
import shared.popups.walletconnect 1.0
import AppLayouts.Wallet.services.dapps 1.0
QtObject {
id: root

View File

@ -537,7 +537,7 @@ Item {
anchors.fill: parent
url: "qrc:/imports/shared/popups/walletconnect/sdk/src/index.html"
url: "qrc:/app/AppLayouts/Wallet/services/dapps/sdk/src/index.html"
webChannelObjects: [ statusObject ]
onPageLoaded: function() {

View File

@ -0,0 +1 @@
WalletConnectSDK 1.0 WalletConnectSDK.qml

View File

@ -3,7 +3,7 @@
<head>
<script src="qrc:/StatusQ/Components/private/qwebchannel/qwebchannel.js" defer></script>
<script src="qrc:/StatusQ/Components/private/qwebchannel/helpers.js" defer></script>
<script src="qrc:/imports/shared/popups/walletconnect/sdk/generated/bundle.js" defer></script>
<script src="qrc:/app/AppLayouts/Wallet/services/dapps/sdk/generated/bundle.js" defer></script>
</head>
<body>
</body>

View File

@ -14,6 +14,7 @@ import AppLayouts.Chat 1.0
import AppLayouts.Chat.views 1.0
import AppLayouts.Profile 1.0
import AppLayouts.Communities 1.0
import AppLayouts.Wallet.services.dapps 1.0
import utils 1.0
import shared 1.0
@ -27,7 +28,6 @@ import shared.stores 1.0
import shared.popups.send 1.0
import shared.popups.send.views 1.0
import shared.stores.send 1.0
import shared.popups.walletconnect 1.0
import StatusQ.Core.Theme 0.1
import StatusQ.Components 0.1

View File

@ -1,2 +1 @@
WalletConnectSDK 1.0 WalletConnectSDK.qml
ConnectDappModal 1.0 ConnectDappModal.qml

View File

@ -1,6 +1,6 @@
import QtQuick 2.15
import shared.popups.walletconnect 1.0
import AppLayouts.Wallet.services.dapps 1.0
QtObject {
id: root