parent
90e5774dd6
commit
245b3fcf57
|
@ -70,6 +70,6 @@
|
||||||
:type (if (= type :error) :error :default)}
|
:type (if (= type :error) :error :default)}
|
||||||
(when blur?
|
(when blur?
|
||||||
{:text-color colors/white-opa-70
|
{:text-color colors/white-opa-70
|
||||||
:icon-color colors/white-opa-70}))
|
:icon-color colors/white-opa-40}))
|
||||||
text]
|
text]
|
||||||
nil)]]))
|
nil)]]))
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
(defn recovery-phrase-input
|
(defn recovery-phrase-input
|
||||||
[{:keys [customization-color blur? on-focus on-blur mark-errors?
|
[{:keys [customization-color blur? on-focus on-blur mark-errors?
|
||||||
error-pred-current-word error-pred-written-words word-limit
|
error-pred-current-word error-pred-written-words word-limit
|
||||||
container-style]
|
container-style placeholder-text-color]
|
||||||
:or {customization-color :blue
|
:or {customization-color :blue
|
||||||
word-limit ##Inf
|
word-limit ##Inf
|
||||||
error-pred-current-word (constantly false)
|
error-pred-current-word (constantly false)
|
||||||
|
@ -62,7 +62,8 @@
|
||||||
[rn/text-input
|
[rn/text-input
|
||||||
(merge {:accessibility-label :recovery-phrase-input
|
(merge {:accessibility-label :recovery-phrase-input
|
||||||
:style (style/input theme)
|
:style (style/input theme)
|
||||||
:placeholder-text-color (style/placeholder-color state theme blur?)
|
:placeholder-text-color (or placeholder-text-color
|
||||||
|
(style/placeholder-color state theme blur?))
|
||||||
:cursor-color (style/cursor-color customization-color theme)
|
:cursor-color (style/cursor-color customization-color theme)
|
||||||
:keyboard-appearance theme
|
:keyboard-appearance theme
|
||||||
:multiline true
|
:multiline true
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
[quo/recovery-phrase-input
|
[quo/recovery-phrase-input
|
||||||
{:accessibility-label :passphrase-input
|
{:accessibility-label :passphrase-input
|
||||||
:placeholder (i18n/label :t/seed-phrase-placeholder)
|
:placeholder (i18n/label :t/seed-phrase-placeholder)
|
||||||
|
:placeholder-text-color colors/white-opa-30
|
||||||
:auto-capitalize :none
|
:auto-capitalize :none
|
||||||
:auto-correct false
|
:auto-correct false
|
||||||
:auto-focus true
|
:auto-focus true
|
||||||
|
|
Loading…
Reference in New Issue