Add newline to todos example
... just for readability
This commit is contained in:
parent
29cc840cfa
commit
72d5d9b4bd
1 changed files with 1 additions and 0 deletions
|
|
@ -267,6 +267,7 @@ impl Task {
|
||||||
TaskMessage::Edit => {
|
TaskMessage::Edit => {
|
||||||
let mut text_input = text_input::State::focused();
|
let mut text_input = text_input::State::focused();
|
||||||
text_input.select_all();
|
text_input.select_all();
|
||||||
|
|
||||||
self.state = TaskState::Editing {
|
self.state = TaskState::Editing {
|
||||||
text_input,
|
text_input,
|
||||||
delete_button: button::State::new(),
|
delete_button: button::State::new(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue