diff options
author | 2024-03-17 18:06:37 +0100 | |
---|---|---|
committer | 2024-03-17 18:06:37 +0100 | |
commit | c4be7efce55ba8c2e11f3da70c41c91dab2698fa (patch) | |
tree | e22c7a165857257342c4892275d3509f255015a8 /examples/todos | |
parent | 2eb3333623e227f9a74a67f562880b7dc1eecdd0 (diff) | |
download | iced-c4be7efce55ba8c2e11f3da70c41c91dab2698fa.tar.gz iced-c4be7efce55ba8c2e11f3da70c41c91dab2698fa.tar.bz2 iced-c4be7efce55ba8c2e11f3da70c41c91dab2698fa.zip |
Use `Program` API in `game_of_life` example
Diffstat (limited to 'examples/todos')
-rw-r--r-- | examples/todos/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index 5479957a..7768c1d5 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -152,7 +152,7 @@ impl Todos { Message::ToggleFullscreen(mode) => { window::change_mode(window::Id::MAIN, mode) } - _ => Command::none(), + Message::Loaded(_) => Command::none(), }; if !saved { |