diff options
author | 2019-11-13 07:57:22 +0100 | |
---|---|---|
committer | 2019-11-13 07:57:22 +0100 | |
commit | be5466a0a7ee6a16b5c07e61c9a22068ad8e127f (patch) | |
tree | 7ea832e70007aeef958ac40b525783f590ff2d26 /examples | |
parent | cf3c53a063b2bb8dcb612e259796fed3fd9b7147 (diff) | |
download | iced-be5466a0a7ee6a16b5c07e61c9a22068ad8e127f.tar.gz iced-be5466a0a7ee6a16b5c07e61c9a22068ad8e127f.tar.bz2 iced-be5466a0a7ee6a16b5c07e61c9a22068ad8e127f.zip |
Remove argument from `text_input::State::focused`
Diffstat (limited to 'examples')
-rw-r--r-- | examples/todos.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/todos.rs b/examples/todos.rs index e6c932e9..028b2d65 100644 --- a/examples/todos.rs +++ b/examples/todos.rs @@ -153,7 +153,7 @@ impl Task { } TaskMessage::Edit => { self.state = TaskState::Editing { - text_input: text_input::State::focused(&self.description), + text_input: text_input::State::focused(), delete_button: button::State::new(), }; } |