hide scan button from login

Former-commit-id: b28427cddd
This commit is contained in:
Adrian Tiberius 2016-07-06 23:15:39 +03:00
parent 762aa20613
commit d8953b53d6
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