Hide password... Oups

This commit is contained in:
Benoit Marty 2021-07-02 16:39:45 +02:00 committed by Benoit Marty
parent 2d860eaa2a
commit 76f4c81d2d

View file

@ -41,7 +41,7 @@ fun SearchView.withoutLeftMargin() {
} }
fun EditText.hidePassword() { fun EditText.hidePassword() {
inputType = InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD inputType = InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_PASSWORD
} }
fun View.getMeasurements(): Pair<Int, Int> { fun View.getMeasurements(): Pair<Int, Int> {