Skip to content

Commit 96b5182

Browse files
vkjribrkhalil
authored andcommitted
Transaction summary design followup fixes (#17360)
1 parent 9d79310 commit 96b5182

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed
-52 Bytes
Loading
-6 Bytes
Loading

src/quo2/components/wallet/transaction_summary/style.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
(defn divider
5151
[theme]
5252
{:height 1
53-
:margin-vertical 4
53+
:margin-top 4
54+
:margin-bottom 3
5455
:background-color (colors/theme-colors colors/neutral-10 colors/neutral-80 theme)})
5556

5657
(defn extra-info-header

src/status_im2/contexts/quo_preview/wallet/transaction_summary.cljs

+26
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
:amount 1500
1313
:token-logo (quo.resources/get-token :snt)})
1414

15+
(def asset-eth
16+
{:size 24
17+
:type :token
18+
:token-name "ETH"
19+
:amount 75
20+
:token-logo (quo.resources/get-token :eth)})
21+
1522
(def asset-dai
1623
{:size 24
1724
:type :token
@@ -38,6 +45,13 @@
3845
:account-name "Piggy bank"
3946
:emoji "🐷"})
4047

48+
(def collectibles-vault
49+
{:size 24
50+
:type :account
51+
:account-name "Collectibles vault"
52+
:customization-color :orange
53+
:emoji "🎮"})
54+
4155
(def aretha-gosling
4256
{:size 24
4357
:type :default
@@ -50,6 +64,12 @@
5064
:full-name "James Bond"
5165
:profile-picture (resources/mock-images :user-picture-male4)})
5266

67+
(def mark-libot
68+
{:size 24
69+
:type :default
70+
:full-name "Mark Libot"
71+
:profile-picture (resources/mock-images :user-picture-male4)})
72+
5373
(def mainnet
5474
{:size 24
5575
:type :network
@@ -90,6 +110,8 @@
90110
(def context-tags
91111
[{:key asset-snt
92112
:value "SNT"}
113+
{:key asset-eth
114+
:value "ETH"}
93115
{:key asset-dai
94116
:value "UNK"}
95117
{:key asset-collectible
@@ -98,8 +120,12 @@
98120
:value "Account: Trip to Vegas"}
99121
{:key piggy-bank
100122
:value "Account: Piggy bank"}
123+
{:key collectibles-vault
124+
:value "Account: Collectibles vault"}
101125
{:key aretha-gosling
102126
:value "Person: Aretha Gosling"}
127+
{:key mark-libot
128+
:value "Person: Mark Libot"}
103129
{:key james-bond
104130
:value "Person: James Bond"}
105131
{:key mainnet

0 commit comments

Comments
 (0)