mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 21:05:18 +00:00
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
|
:align-items :center :justify-content :center
|
||||||
:background-color (cond
|
:background-color (cond
|
||||||
(#{:secondary :next :previous} type)
|
(#{:secondary :next :previous} type)
|
||||||
nil
|
""
|
||||||
disabled?
|
disabled?
|
||||||
colors/gray-transparent-10
|
colors/gray-transparent-10
|
||||||
(= type :main)
|
(= type :main)
|
||||||
colors/blue-transparent-10
|
colors/blue-transparent-10
|
||||||
:else
|
:else
|
||||||
nil)}))
|
"")}))
|
||||||
|
|
||||||
(defn button
|
(defn button
|
||||||
|
|
||||||
@ -61,7 +61,7 @@
|
|||||||
(#{:main :secondary :next :previous} type)
|
(#{:main :secondary :next :previous} type)
|
||||||
colors/blue
|
colors/blue
|
||||||
:else
|
:else
|
||||||
nil)}}
|
"")}}
|
||||||
label]
|
label]
|
||||||
(when (= type :next)
|
(when (= type :next)
|
||||||
[vector-icons/icon :main-icons/next {:container-style {:width 24 :height 24 :margin-left 4}
|
[vector-icons/icon :main-icons/next {:container-style {:width 24 :height 24 :margin-left 4}
|
||||||
|
@ -104,7 +104,6 @@
|
|||||||
(defstyle container-disabled
|
(defstyle container-disabled
|
||||||
{:border-width 1
|
{:border-width 1
|
||||||
:border-color colors/white-transparent-10
|
:border-color colors/white-transparent-10
|
||||||
:background-color nil
|
|
||||||
:border-radius 8})
|
:border-radius 8})
|
||||||
|
|
||||||
(def wallet-container
|
(def wallet-container
|
||||||
|
@ -7,26 +7,6 @@
|
|||||||
{:flex 1
|
{:flex 1
|
||||||
:padding-bottom 60})
|
: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
|
(def signing-phrase-description
|
||||||
{:padding-top 8})
|
{:padding-top 8})
|
||||||
|
|
||||||
@ -68,34 +48,10 @@
|
|||||||
{:flex-direction :row
|
{:flex-direction :row
|
||||||
:margin 15})
|
: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
|
(def transaction-fee-input
|
||||||
{:keyboard-type :numeric
|
{:keyboard-type :numeric
|
||||||
:auto-capitalize "none"
|
:auto-capitalize "none"
|
||||||
:placeholder "0.000"
|
:placeholder "0.000"
|
||||||
:placeholder-text-color colors/white-transparent
|
:placeholder-text-color colors/white-transparent
|
||||||
:selection-color colors/white
|
:selection-color colors/white
|
||||||
:style wallet.components.styles/text-input})
|
: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}})
|
|
Loading…
x
Reference in New Issue
Block a user