tested currencies retrieval, now assets display the currency

This commit is contained in:
Blue 2024-03-29 19:00:17 -03:00
parent 45f924a4cf
commit cf2f387f58
Signed by: blue
GPG key ID: 9B203B252A63EE38
14 changed files with 137 additions and 27 deletions

View file

@ -12,6 +12,7 @@ Item {
required property string icon
required property color color
required property string balance
required property string currency
required property int assetId
signal error (err:string)
@ -39,7 +40,7 @@ Item {
}
Text {
width: parent.freespace / 2
width: parent.freespace / 3
height: parent.height
text: title
verticalAlignment: Text.AlignVCenter
@ -48,13 +49,21 @@ Item {
}
Text {
width: parent.freespace / 2
width: parent.freespace / 3
height: parent.height
text: balance
verticalAlignment: Text.AlignVCenter
color: palette.text
}
Text {
width: parent.freespace / 3
height: parent.height
text: currency
verticalAlignment: Text.AlignVCenter
color: palette.text
}
Button {
id: deleteButton
text: qsTr("Delete")