Rename window::change_* tasks to set_*

This commit is contained in:
Héctor Ramón Jiménez 2025-01-06 23:25:57 +01:00
parent ed199e5e8f
commit 5b70754809
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 16 additions and 18 deletions

View file

@ -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(),
};