summaryrefslogtreecommitdiffstats
path: root/examples/todos.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/todos.rs')
-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(),
};
}