From c4be7efce55ba8c2e11f3da70c41c91dab2698fa Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 17 Mar 2024 18:06:37 +0100 Subject: Use `Program` API in `game_of_life` example --- examples/todos/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/todos/src') 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 { -- cgit