Rename window::change_* tasks to set_*
This commit is contained in:
parent
ed199e5e8f
commit
5b70754809
3 changed files with 16 additions and 18 deletions
|
|
@ -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(),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue