2021-10-05 20:50:22 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import QtQuick.Controls 2.14
|
|
|
|
|
2022-07-13 12:29:38 +00:00
|
|
|
import StatusQ.Core 0.1
|
|
|
|
|
2021-10-05 20:50:22 +00:00
|
|
|
import utils 1.0
|
|
|
|
|
2021-10-27 21:27:49 +00:00
|
|
|
import shared 1.0
|
2021-10-05 20:50:22 +00:00
|
|
|
import "../stores"
|
|
|
|
import "../controls"
|
|
|
|
|
|
|
|
Item {
|
2022-03-25 08:46:47 +00:00
|
|
|
property var account
|
|
|
|
|
2021-10-05 20:50:22 +00:00
|
|
|
height: assetListView.height
|
|
|
|
|
2022-07-14 11:03:36 +00:00
|
|
|
StatusListView {
|
|
|
|
id: assetListView
|
2021-10-05 20:50:22 +00:00
|
|
|
anchors.fill: parent
|
2022-07-14 11:03:36 +00:00
|
|
|
model: account.assets
|
|
|
|
delegate: AssetDelegate {
|
|
|
|
locale: RootStore.locale
|
|
|
|
currency: RootStore.currentCurrency
|
|
|
|
}
|
2021-10-05 20:50:22 +00:00
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.fillHeight: true
|
|
|
|
|
2022-07-14 11:03:36 +00:00
|
|
|
ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded }
|
2021-10-05 20:50:22 +00:00
|
|
|
}
|
|
|
|
}
|