status-desktop/ui/app/AppLayouts/Wallet/views/RightTabBaseView.qml
Seitseman 2275fe4f1f fix(Stored): Make stores typed
Adding types instead of var for stores used in qml components

Closes: #14801
2024-08-27 10:52:18 +02:00

53 lines
1.3 KiB
QML

import QtQuick 2.14
import QtQuick.Layouts 1.14
import StatusQ.Core 0.1
import shared.stores 1.0
import AppLayouts.stores 1.0 as AppLayoutsStores
import AppLayouts.Communities.stores 1.0
import AppLayouts.Profile.stores 1.0 as ProfileStores
import AppLayouts.Wallet.stores 1.0 as WalletStores
import "../panels"
FocusScope {
id: root
property AppLayoutsStores.RootStore store
property ProfileStores.ContactsStore contactsStore
property CommunitiesStore communitiesStore
property NetworkConnectionStore networkConnectionStore
property bool dappsEnabled
property bool swapEnabled
property var sendModal
property alias header: header
property alias headerButton: header.headerButton
property alias networkFilter: header.networkFilter
default property alias content: contentWrapper.children
ColumnLayout {
anchors.fill: parent
spacing: 0
WalletHeader {
id: header
Layout.fillWidth: true
overview: WalletStores.RootStore.overview
walletStore: WalletStores.RootStore
networkConnectionStore: root.networkConnectionStore
dappsEnabled: root.dappsEnabled
}
Item {
id: contentWrapper
Layout.fillWidth: true
Layout.fillHeight: true
}
}
}