Skip to content

Commit

Permalink
Add newline to todos example
Browse files Browse the repository at this point in the history
... just for readability
  • Loading branch information
hecrj committed Jul 22, 2021
1 parent 29cc840 commit 72d5d9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/todos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ impl Task {
TaskMessage::Edit => {
let mut text_input = text_input::State::focused();
text_input.select_all();

self.state = TaskState::Editing {
text_input,
delete_button: button::State::new(),
Expand Down

3 comments on commit 72d5d9b

@foodornt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why

@hecrj
Copy link
Member Author

@hecrj hecrj commented on 72d5d9b Aug 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@foodornt Feel free to fork the project and remove the newline if it bothers you.

@foodornt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn dude why you gotta do me like that

Please sign in to comment.