Skip to content

Commit a50110b

Browse files
ardocrathacknus
authored andcommitted
Fix iOS compilation of eframe (emilk#4851)
Fixed changed the name of function `WinitApp::get_window_winit_id` to `WinitApp::window_id_from_viewport_id` and missed `egui::ViewportId` import.
1 parent f9648df commit a50110b

File tree

1 file changed

+1
-1
lines changed
  • crates/eframe/src/native

1 file changed

+1
-1
lines changed

crates/eframe/src/native/run.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl<T: WinitApp> WinitAppWrapper<T> {
177177
// WaitUntil seems to not work on iOS
178178
#[cfg(target_os = "ios")]
179179
winit_app
180-
.get_window_winit_id(ViewportId::ROOT)
180+
.window_id_from_viewport_id(egui::ViewportId::ROOT)
181181
.map(|window_id| {
182182
winit_app
183183
.window(window_id)

0 commit comments

Comments
 (0)