fixed :background-color on Android crash
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
b18a044146
commit
d07c9c6613
|
@ -20,13 +20,13 @@
|
|||
:align-items :center :justify-content :center
|
||||
:background-color (cond
|
||||
(#{:secondary :next :previous} type)
|
||||
nil
|
||||
""
|
||||
disabled?
|
||||
colors/gray-transparent-10
|
||||
(= type :main)
|
||||
colors/blue-transparent-10
|
||||
:else
|
||||
nil)}))
|
||||
"")}))
|
||||
|
||||
(defn button
|
||||
|
||||
|
@ -61,7 +61,7 @@
|
|||
(#{:main :secondary :next :previous} type)
|
||||
colors/blue
|
||||
:else
|
||||
nil)}}
|
||||
"")}}
|
||||
label]
|
||||
(when (= type :next)
|
||||
[vector-icons/icon :main-icons/next {:container-style {:width 24 :height 24 :margin-left 4}
|
||||
|
|
|
@ -104,7 +104,6 @@
|
|||
(defstyle container-disabled
|
||||
{:border-width 1
|
||||
:border-color colors/white-transparent-10
|
||||
:background-color nil
|
||||
:border-radius 8})
|
||||
|
||||
(def wallet-container
|
||||
|
|
|
@ -7,26 +7,6 @@
|
|||
{:flex 1
|
||||
:padding-bottom 60})
|
||||
|
||||
(defn animated-sign-panel [bottom-value]
|
||||
{:position :absolute
|
||||
:left 12
|
||||
:right 12
|
||||
:bottom bottom-value})
|
||||
|
||||
(defn sign-panel [opacity-value]
|
||||
{:opacity opacity-value
|
||||
:border-radius 8
|
||||
:background-color colors/white
|
||||
:padding-top 12
|
||||
:padding-horizontal 12})
|
||||
|
||||
(def signing-phrase-container
|
||||
{:border-radius 8
|
||||
:height 36
|
||||
:align-items :center
|
||||
:justify-content :center
|
||||
:background-color colors/gray-lighter})
|
||||
|
||||
(def signing-phrase-description
|
||||
{:padding-top 8})
|
||||
|
||||
|
@ -68,34 +48,10 @@
|
|||
{:flex-direction :row
|
||||
:margin 15})
|
||||
|
||||
(def transaction-fee-info-icon
|
||||
{:border-radius 25
|
||||
:width 25
|
||||
:height 25
|
||||
:margin-right 15
|
||||
:align-items :center
|
||||
:justify-content :center
|
||||
:background-color colors/black-transparent})
|
||||
|
||||
(def transaction-fee-info-icon-text
|
||||
{:color colors/white
|
||||
:font-size 14})
|
||||
|
||||
(def transaction-fee-input
|
||||
{:keyboard-type :numeric
|
||||
:auto-capitalize "none"
|
||||
:placeholder "0.000"
|
||||
:placeholder-text-color colors/white-transparent
|
||||
:selection-color colors/white
|
||||
:style wallet.components.styles/text-input})
|
||||
|
||||
(def sign-buttons
|
||||
{:background-color colors/blue
|
||||
:padding-vertical 8})
|
||||
|
||||
(def password-error-tooltip
|
||||
{:bottom-value 15
|
||||
:color colors/red-light})
|
||||
|
||||
(defstyle gas-input-error-tooltip
|
||||
{:android {:bottom-value -38}})
|
||||
:style wallet.components.styles/text-input})
|
Loading…
Reference in New Issue