Account selection sheet price (#19295)
This commit is contained in:
parent
f98e5cf11f
commit
ca8b404e5b
|
@ -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)])
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
(def screen-horizontal-padding 20)
|
||||
|
||||
(def container
|
||||
{:flex 1})
|
||||
{:flex 1
|
||||
:margin-top -12})
|
||||
|
||||
(def section-title
|
||||
{:padding-top 12
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue