changed error color

This commit is contained in:
Adrian Tiberius 2016-06-30 23:09:33 +03:00
parent 31a8824d34
commit 42faf66c1d
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@
[] []
[text-field [text-field
{:error (if (str/blank? name) "" nil) {:error (if (str/blank? name) "" nil)
:errorColor "#7099e6"
:value name :value name
:label (label :t/name) :label (label :t/name)
:onChangeText #(dispatch [:set-in [:new-contact :name] %])}]) :onChangeText #(dispatch [:set-in [:new-contact :name] %])}])
@ -51,6 +52,7 @@
[view button-input-container [view button-input-container
[text-field [text-field
{:error error {:error error
:errorColor "#7099e6"
:value whisper-identity :value whisper-identity
:wrapperStyle (merge button-input) :wrapperStyle (merge button-input)
:label (label :t/address) :label (label :t/address)