wallet activity design followup fixes (#17590)

This commit is contained in:
Volodymyr Kozieiev 2023-10-10 14:54:26 +01:00 committed by GitHub
parent d664653921
commit 919ee4b9ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 2 deletions

View File

@ -33,12 +33,15 @@
[theme blur?]
{:border-width 1
:border-radius 6
:margin-right 8
:margin-right 4
:padding-horizontal 2
:border-color (if-not blur?
(colors/theme-colors colors/neutral-20 colors/neutral-80 theme)
colors/white-opa-10)})
(def timestamp-container
{:margin-left 4})
(defn timestamp
[theme blur?]
{:color (if-not blur?

View File

@ -56,7 +56,7 @@
:size :label
:style (style/transaction-counter theme)}
(i18n/label :t/x-counter {:counter counter})]])
[rn/view
[rn/view {:style style/timestamp-container}
[text/text
{:weight :regular
:size :label

View File

@ -45,6 +45,12 @@
:full-name "Aretha Gosling"
:profile-picture (resources/mock-images :user-picture-female2)})
(def jessica-stewart
{:size 24
:type :default
:full-name "Jessica Stewart"
:profile-picture (resources/mock-images :user-picture-female2)})
(def james-bond
{:size 24
:type :default
@ -101,6 +107,8 @@
:value "Account: Piggy bank"}
{:key aretha-gosling
:value "Person: Aretha Gosling"}
{:key jessica-stewart
:value "Person: Jessica Stewart"}
{:key james-bond
:value "Person: James Bond"}
{:key mainnet