fix: fix height on account card component (#18329)
Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
parent
1919094b46
commit
fc72ba6a1e
|
@ -11,8 +11,9 @@
|
|||
colors/white))
|
||||
|
||||
(defn card
|
||||
[{:keys [customization-color type theme pressed?]}]
|
||||
{:width 162
|
||||
[{:keys [customization-color type theme pressed? metrics?]}]
|
||||
{:width 161
|
||||
:height (if metrics? 88 68)
|
||||
:background-color (when (not= :watch-only type)
|
||||
(colors/theme-colors
|
||||
(colors/resolve-color customization-color
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
:style (style/card {:customization-color customization-color
|
||||
:type type
|
||||
:theme theme
|
||||
:pressed? false})}
|
||||
:pressed? false
|
||||
:metrics? metrics?})}
|
||||
[rn/view {:style style/loader-container}
|
||||
[rn/view
|
||||
{:style (assoc (style/loader-view {:width 16
|
||||
|
@ -113,7 +114,8 @@
|
|||
:style (style/card {:customization-color customization-color
|
||||
:type type
|
||||
:theme theme
|
||||
:pressed? @pressed?})
|
||||
:pressed? @pressed?
|
||||
:metrics? metrics?})
|
||||
:on-press on-press}
|
||||
(when (and customization-color (and (not watch-only?) (not missing-keypair?)))
|
||||
[customization-colors/overlay
|
||||
|
|
Loading…
Reference in New Issue