Fix missing `enter` in `iced::executor::Default`
This commit is contained in:
parent
09cf0b7af3
commit
5345ac785b
|
@ -38,6 +38,10 @@ mod platform {
|
|||
) {
|
||||
let _ = self.0.spawn(future);
|
||||
}
|
||||
|
||||
fn enter<R>(&self, f: impl FnOnce() -> R) -> R {
|
||||
self.0.enter(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue