summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-13 07:57:22 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-13 07:57:22 +0100
commitbe5466a0a7ee6a16b5c07e61c9a22068ad8e127f (patch)
tree7ea832e70007aeef958ac40b525783f590ff2d26 /examples
parentcf3c53a063b2bb8dcb612e259796fed3fd9b7147 (diff)
downloadiced-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.rs2
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(),
};
}