Account selection sheet price (#19295)
This commit is contained in:
parent
f98e5cf11f
commit
ca8b404e5b
|
@ -76,7 +76,7 @@
|
||||||
nil))
|
nil))
|
||||||
|
|
||||||
(defn label-component
|
(defn label-component
|
||||||
[{:keys [label label-props blur? theme]}]
|
[{:keys [label label-props blur? theme preview-size]}]
|
||||||
[rn/view {:accessibility-label :label-component}
|
[rn/view {:accessibility-label :label-component}
|
||||||
(case label
|
(case label
|
||||||
:text [text/text
|
:text [text/text
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
label-props]
|
label-props]
|
||||||
:color [rn/view
|
:color [rn/view
|
||||||
{:style (style/label-dot label-props)}]
|
{: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)]
|
(:data label-props)]
|
||||||
nil)])
|
nil)])
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
(def screen-horizontal-padding 20)
|
(def screen-horizontal-padding 20)
|
||||||
|
|
||||||
(def container
|
(def container
|
||||||
{:flex 1})
|
{:flex 1
|
||||||
|
:margin-top -12})
|
||||||
|
|
||||||
(def section-title
|
(def section-title
|
||||||
{:padding-top 12
|
{:padding-top 12
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
:label :preview
|
:label :preview
|
||||||
:label-props {:type :accounts
|
:label-props {:type :accounts
|
||||||
:data revealed-accounts}
|
:data revealed-accounts}
|
||||||
|
:preview-size :size-32
|
||||||
:description-props {:text addresses-shared-text}}
|
:description-props {:text addresses-shared-text}}
|
||||||
{:title (i18n/label :t/for-airdrops)
|
{:title (i18n/label :t/for-airdrops)
|
||||||
:on-press show-airdrop-addresses
|
:on-press show-airdrop-addresses
|
||||||
|
@ -125,6 +126,7 @@
|
||||||
:label :preview
|
:label :preview
|
||||||
:label-props {:type :accounts
|
:label-props {:type :accounts
|
||||||
:data [airdrop-account]}
|
:data [airdrop-account]}
|
||||||
|
:preview-size :size-32
|
||||||
:description-props {:text (:name airdrop-account)}}]}]
|
:description-props {:text (:name airdrop-account)}}]}]
|
||||||
(when-not can-edit-addresses?
|
(when-not can-edit-addresses?
|
||||||
[quo/text
|
[quo/text
|
||||||
|
|
Loading…
Reference in New Issue