Remove window::Id::MAIN constant
This commit is contained in:
parent
92e08c8f07
commit
c5f4bebeda
6 changed files with 10 additions and 11 deletions
|
|
@ -57,7 +57,7 @@ impl Example {
|
|||
return Task::none();
|
||||
};
|
||||
|
||||
window::fetch_position(*last_window)
|
||||
window::get_position(*last_window)
|
||||
.then(|last_position| {
|
||||
let position = last_position.map_or(
|
||||
window::Position::Default,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue