Rename password method in TextInput to secure

This commit is contained in:
Héctor Ramón Jiménez 2024-02-15 02:01:56 +01:00
parent 5827023ccc
commit 9dd20ead08
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 6 additions and 10 deletions

View file

@ -157,7 +157,7 @@ impl Application for App {
text_input("", &self.password)
.on_input(Message::Password)
.on_submit(Message::Submit)
.password()
.secure(true)
.padding(5),
]
.spacing(5),