Commit c89faaff authored by Bijun Li's avatar Bijun Li
Browse files

Improve CryptoTransaction CVU

parent 2b0ac4d4
Showing with 28 additions and 18 deletions
+28 -18
CryptoTransaction > list {
HStack {
Text {
VStack {
HStack {
show: {{.relateTo.username = .ofOwner.username}}
text: {{"Circles UBI"}}
font: 20 regular
color: primary
padding: 10
Text {
text: {{"Circles UBI"}}
font: 20 regular
color: primary
}
Spacer
Text {
text: {{"+" + .quantity}}
font: 20 bold
color: primary
}
}
Text {
HStack {
show: {{.relateTo.username != .ofOwner.username}}
text: {{.outward = true ? "@" + .ofOwner.username + " sent to @" + .relateTo.username : "@" + .relateTo.username + " sent to @" + .ofOwner.username}}
font: 20 regular
color: primary
padding: 10
}
Spacer
Text {
text: {{.outward = true ? "@" + .ofOwner.username + " sent to @" + .relateTo.username : "@" + .relateTo.username + " sent to @" + .ofOwner.username}}
font: 20 regular
color: primary
}
Spacer
Text {
text: {{.quantity}}
font: 24 bold
color: primary
Text {
text: {{.outward = true ? "-" + .quantity : "+" + .quantity}}
font: 20 bold
color: primary
}
}
}
}
\ No newline at end of file
......@@ -43,7 +43,6 @@ CurrencyOwner > list {
Button {
background: #7E073B
cornerRadius: 5
padding: 10
Text {
text: "Transfer"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment