summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 23:25:57 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 23:25:57 +0100
commit5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3 (patch)
tree14fea728213e68dabed3244eaefb56bb6fb70eb5 /examples/todos
parented199e5e8f5bc210ffc923553983e5d3aa6ee5b6 (diff)
downloadiced-5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3.tar.gz
iced-5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3.tar.bz2
iced-5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3.zip
Rename `window::change_*` tasks to `set_*`
Diffstat (limited to 'examples/todos')
-rw-r--r--examples/todos/src/main.rs4
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(),
};