34 lines
742 B
QML
34 lines
742 B
QML
import QtQuick 2.13
|
|
import QtQuick.Layouts 1.3
|
|
import QtQuick.Controls 2.14
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import utils 1.0
|
|
|
|
import shared 1.0
|
|
import "../stores"
|
|
import "../controls"
|
|
|
|
Item {
|
|
property var account
|
|
|
|
height: assetListView.height
|
|
|
|
StatusListView {
|
|
id: assetListView
|
|
anchors.fill: parent
|
|
model: account.assets
|
|
objectName: "assetViewStatusListView"
|
|
delegate: AssetDelegate {
|
|
locale: RootStore.locale
|
|
currency: RootStore.currentCurrency
|
|
currencySymbol: RootStore.currencyStore.currentCurrencySymbol
|
|
}
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
|
|
ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded }
|
|
}
|
|
}
|