summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-17 18:06:37 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-17 18:06:37 +0100
commitc4be7efce55ba8c2e11f3da70c41c91dab2698fa (patch)
treee22c7a165857257342c4892275d3509f255015a8 /examples/todos
parent2eb3333623e227f9a74a67f562880b7dc1eecdd0 (diff)
downloadiced-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.rs2
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 {