Rename password method in TextInput to secure
This commit is contained in:
parent
5827023ccc
commit
9dd20ead08
3 changed files with 6 additions and 10 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue