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?] [theme blur?]
{:border-width 1 {:border-width 1
:border-radius 6 :border-radius 6
:margin-right 8 :margin-right 4
:padding-horizontal 2 :padding-horizontal 2
:border-color (if-not blur? :border-color (if-not blur?
(colors/theme-colors colors/neutral-20 colors/neutral-80 theme) (colors/theme-colors colors/neutral-20 colors/neutral-80 theme)
colors/white-opa-10)}) colors/white-opa-10)})
(def timestamp-container
{:margin-left 4})
(defn timestamp (defn timestamp
[theme blur?] [theme blur?]
{:color (if-not blur? {:color (if-not blur?

View File

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

View File

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