diff options
author | 2025-01-06 23:36:35 +0100 | |
---|---|---|
committer | 2025-01-06 23:36:35 +0100 | |
commit | e722c4ee4f80833ba0b1013cadd546ebc3f490ce (patch) | |
tree | 14fea728213e68dabed3244eaefb56bb6fb70eb5 /examples/todos/src/main.rs | |
parent | 717b296cdb17f22b410e2985b58e73af2199bfcc (diff) | |
parent | 5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3 (diff) | |
download | iced-e722c4ee4f80833ba0b1013cadd546ebc3f490ce.tar.gz iced-e722c4ee4f80833ba0b1013cadd546ebc3f490ce.tar.bz2 iced-e722c4ee4f80833ba0b1013cadd546ebc3f490ce.zip |
Merge pull request #2633 from JL710/window-tasks
more window tasks
Diffstat (limited to 'examples/todos/src/main.rs')
-rw-r--r-- | examples/todos/src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index a5bca235..e86e23b5 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -149,9 +149,7 @@ impl Todos { } } Message::ToggleFullscreen(mode) => window::get_latest() - .and_then(move |window| { - window::change_mode(window, mode) - }), + .and_then(move |window| window::set_mode(window, mode)), Message::Loaded(_) => Command::none(), }; |