diff options
author | 2024-02-15 02:01:56 +0100 | |
---|---|---|
committer | 2024-02-15 02:01:56 +0100 | |
commit | 9dd20ead085ff3b9b4bd441b5e4938cf8e813f35 (patch) | |
tree | 8f6ea8393a1cb68eef2d85472a16f68903da4dbe /examples/modal | |
parent | 5827023ccc3f80012b17dbfe778fbd8b63186c99 (diff) | |
download | iced-9dd20ead085ff3b9b4bd441b5e4938cf8e813f35.tar.gz iced-9dd20ead085ff3b9b4bd441b5e4938cf8e813f35.tar.bz2 iced-9dd20ead085ff3b9b4bd441b5e4938cf8e813f35.zip |
Rename `password` method in `TextInput` to `secure`
Diffstat (limited to 'examples/modal')
-rw-r--r-- | examples/modal/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modal/src/main.rs b/examples/modal/src/main.rs index 6fe951ee..1dac0075 100644 --- a/examples/modal/src/main.rs +++ b/examples/modal/src/main.rs @@ -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), |