Add Failed and Success states to tester devtool
This commit is contained in:
parent
73f5569f28
commit
e548372fe0
7 changed files with 198 additions and 53 deletions
|
|
@ -588,10 +588,10 @@ fn presets() -> impl Iterator<Item = iced::application::Preset<Todos, Message>>
|
|||
Command::done(Message::Loaded(Err(LoadError::File))),
|
||||
)
|
||||
}),
|
||||
Preset::new("Basic", || {
|
||||
Preset::new("Carl Sagan", || {
|
||||
(
|
||||
Todos::Loaded(State {
|
||||
input_value: "Bake an apple pie".to_owned(),
|
||||
input_value: "Make an apple pie".to_owned(),
|
||||
filter: Filter::All,
|
||||
tasks: vec![Task {
|
||||
id: Uuid::new_v4(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue