Use Program API in game_of_life example

This commit is contained in:
Héctor Ramón Jiménez 2024-03-17 18:06:37 +01:00
parent 2eb3333623
commit c4be7efce5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 22 additions and 36 deletions

View file

@ -152,7 +152,7 @@ impl Todos {
Message::ToggleFullscreen(mode) => {
window::change_mode(window::Id::MAIN, mode)
}
_ => Command::none(),
Message::Loaded(_) => Command::none(),
};
if !saved {