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