Fix iOS compilation of eframe (#4851)

Fixed changed the name of function `WinitApp::get_window_winit_id` to
`WinitApp::window_id_from_viewport_id` and missed `egui::ViewportId`
import.
This commit is contained in:
Ardocrat 2024-07-31 08:18:18 +00:00 committed by GitHub
parent c5bea3113e
commit dfbc7f0d19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ impl<T: WinitApp> WinitAppWrapper<T> {
// WaitUntil seems to not work on iOS
#[cfg(target_os = "ios")]
winit_app
.get_window_winit_id(ViewportId::ROOT)
.window_id_from_viewport_id(egui::ViewportId::ROOT)
.map(|window_id| {
winit_app
.window(window_id)