make secure-text-entry always a boolean

Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
Michele Balistreri 2021-09-08 17:18:05 +03:00
parent 1e94a45339
commit 0a5abee780
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 1 additions and 1 deletions

View File

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