Merge: app.nit UI: Intro an attribute to toggle password entry on TextFields
authorJean Privat <jean@pryen.org>
Thu, 10 Mar 2016 04:55:45 +0000 (23:55 -0500)
committerJean Privat <jean@pryen.org>
Thu, 10 Mar 2016 04:55:45 +0000 (23:55 -0500)
commit2af08a24c2bb6aa342027b3543c67fb0b5c961ed
tree6c33d4aad5ac274372c45732d943c061f4537f07
parentabc778ad765aa57b3aefd235065f8cf9d1830c89
parent967dfc21d576d84963c082bfaa0b304ca56f3d1f
Merge: app.nit UI: Intro an attribute to toggle password entry on TextFields

The attribute `TextField::is_password` toggles hiding the content of the field using platform specific services. So on Android, not only is the text hidden but it also notifies the soft keyboard to behave accordingly.

In the future, we could add alternative modes for email entry and more.

Pull-Request: #1978
Reviewed-by: Jean Privat <jean@pryen.org>