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