make secure-text-entry always a boolean
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
parent
1e94a45339
commit
0a5abee780
|
@ -164,7 +164,7 @@
|
|||
:on-press #(reset! visible true)}
|
||||
|
||||
:else after)
|
||||
secure (and secure-text-entry (not @visible))
|
||||
secure (boolean (and secure-text-entry (not @visible))) ; must be a boolean to work on iOS
|
||||
auto-complete (cond
|
||||
(= keyboard-type :visible-password)
|
||||
:off
|
||||
|
|
Loading…
Reference in New Issue