Khushboo Mehta 0c2674e7cb chore(@desktop/wallet): Chnage the send modal mechanism to follow new architecture guidelines.
After this change there is not need to pass sendModal instance from AppMain to other parts of app.
Then SendModal should be launched simply by calling Global.openSendModal(....)
2024-12-04 21:34:12 +01:00

25 lines
547 B
QML

import QtQuick 2.15
import QtQuick.Layouts 1.15
import AppLayouts.Wallet.views 1.0
import shared.stores 1.0 as SharedStores
import "../../stores"
ColumnLayout {
id: root
property ContactsStore contactsStore
property SharedStores.NetworkConnectionStore networkConnectionStore
signal sendToAddressRequested(string address)
SavedAddresses {
contactsStore: root.contactsStore
networkConnectionStore: root.networkConnectionStore
onSendToAddressRequested: root.sendToAddressRequested(address)
}
}