Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
Flutter App for Memri
Commits
c89faaff
Commit
c89faaff
authored
4 years ago
by
Bijun Li
Browse files
Options
Download
Email Patches
Plain Diff
Improve CryptoTransaction CVU
parent
2b0ac4d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/defaultCVU/type/CryptoTransaction.cvu
+28
-17
assets/defaultCVU/type/CryptoTransaction.cvu
assets/defaultCVU/type/CurrencyOwner.cvu
+0
-1
assets/defaultCVU/type/CurrencyOwner.cvu
with
28 additions
and
18 deletions
+28
-18
assets/defaultCVU/type/CryptoTransaction.cvu
+
28
-
17
View file @
c89faaff
CryptoTransaction > list {
H
Stack {
Text
{
V
Stack {
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
This diff is collapsed.
Click to expand it.
assets/defaultCVU/type/CurrencyOwner.cvu
+
0
-
1
View file @
c89faaff
...
...
@@ -43,7 +43,6 @@ CurrencyOwner > list {
Button {
background: #7E073B
cornerRadius: 5
padding: 10
Text {
text: "Transfer"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment