fix: tx confirmation summary-info address initials
This commit is contained in:
@@ -59,12 +59,15 @@
|
||||
- :image-source - resource - image to display on :network, :collectible and :user
|
||||
- :theme - :light / :dark"
|
||||
[{:keys [label customization-color type container-style]
|
||||
:as props
|
||||
:or {customization-color colors/neutral-80-opa-5}}]
|
||||
(let [theme (quo.theme/use-theme)]
|
||||
:as props}]
|
||||
(let [theme (quo.theme/use-theme)
|
||||
default-color (if (= theme :light)
|
||||
colors/neutral-80-opa-5
|
||||
colors/white-opa-5)
|
||||
color (or customization-color default-color)]
|
||||
[rn/view
|
||||
{:accessibility-label :container
|
||||
:style (merge (style/main (assoc props :customization-color customization-color)
|
||||
:style (merge (style/main (assoc props :customization-color color)
|
||||
theme)
|
||||
container-style)}
|
||||
[left-view props]
|
||||
|
||||
@@ -46,13 +46,18 @@
|
||||
{:type summary-type
|
||||
:networks? true
|
||||
:values network-values
|
||||
:account-props {:customization-color customization-color
|
||||
:size 32
|
||||
:emoji emoji
|
||||
:type :default
|
||||
:name (or label address)
|
||||
:full-name label
|
||||
:address shortened-address}}]))
|
||||
:account-props (cond-> {:customization-color customization-color
|
||||
:size 32
|
||||
:emoji emoji
|
||||
:type :default
|
||||
:name (or label address)
|
||||
:full-name label
|
||||
:address shortened-address}
|
||||
|
||||
(= recipient-type :address)
|
||||
(assoc :full-name "0 x"
|
||||
:monospace? true
|
||||
:lowercase? true))}]))
|
||||
|
||||
(defn from-summary
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user