hide scan button from login
This commit is contained in:
parent
a2e6701db7
commit
b28427cddd
|
@ -39,10 +39,11 @@
|
||||||
:inputStyle st/input-style
|
:inputStyle st/input-style
|
||||||
:wrapperStyle (merge button-input st/address-input-wrapper)
|
:wrapperStyle (merge button-input st/address-input-wrapper)
|
||||||
:onChangeText #(dispatch [:set-in [:login :address] %])}]
|
:onChangeText #(dispatch [:set-in [:login :address] %])}]
|
||||||
[scan-button {:labelStyle st/scan-label
|
;[scan-button {:labelStyle st/scan-label
|
||||||
:icon :icon_scan_white
|
; :icon :icon_scan_white
|
||||||
:showLabel (zero? (count address))
|
; :showLabel (zero? (count address))
|
||||||
:handler #(dispatch [:scan-qr-code {:toolbar-title (label :t/login)} :set-address-from-qr])}]])
|
; :handler #(dispatch [:scan-qr-code {:toolbar-title (label :t/login)} :set-address-from-qr])}]
|
||||||
|
])
|
||||||
|
|
||||||
(defview password-input []
|
(defview password-input []
|
||||||
[text-field
|
[text-field
|
||||||
|
|
Loading…
Reference in New Issue