hide scan button from login

This commit is contained in:
Adrian Tiberius 2016-07-06 23:15:39 +03:00
parent a2e6701db7
commit b28427cddd
1 changed files with 5 additions and 4 deletions

View File

@ -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