Account selection sheet price (#19295)

This commit is contained in:
Ibrahem Khalil 2024-04-09 01:53:29 +02:00 committed by GitHub
parent f98e5cf11f
commit ca8b404e5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -76,7 +76,7 @@
nil))
(defn label-component
[{:keys [label label-props blur? theme]}]
[{:keys [label label-props blur? theme preview-size]}]
[rn/view {:accessibility-label :label-component}
(case label
:text [text/text
@ -84,7 +84,7 @@
label-props]
:color [rn/view
{:style (style/label-dot label-props)}]
:preview [preview-list/view {:type (:type label-props) :size :size-24}
:preview [preview-list/view {:type (:type label-props) :size (or preview-size :size-24)}
(:data label-props)]
nil)])

View File

@ -5,7 +5,8 @@
(def screen-horizontal-padding 20)
(def container
{:flex 1})
{:flex 1
:margin-top -12})
(def section-title
{:padding-top 12

View File

@ -117,6 +117,7 @@
:label :preview
:label-props {:type :accounts
:data revealed-accounts}
:preview-size :size-32
:description-props {:text addresses-shared-text}}
{:title (i18n/label :t/for-airdrops)
:on-press show-airdrop-addresses
@ -125,6 +126,7 @@
:label :preview
:label-props {:type :accounts
:data [airdrop-account]}
:preview-size :size-32
:description-props {:text (:name airdrop-account)}}]}]
(when-not can-edit-addresses?
[quo/text