Remove temporary iOS workaround (#17217)

# Objective

Fixes #16928.

## Solution

Remove the temporary workaround introduced in #16548.
This commit is contained in:
Antony 2025-01-07 13:44:32 -05:00 committed by GitHub
parent e24ae6cf40
commit a2ae7e9a19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,16 +154,6 @@ pub fn create_monitors(
seen_monitors[idx] = true;
continue 'outer;
}
// on iOS, equality doesn't work, so we need to compare the names
// otherwise the monitor entity is recreated every time
// TODO: remove after https://github.com/rust-windowing/winit/pull/4013 has been released
#[cfg(target_os = "ios")]
{
if monitor.name() == m.name() {
seen_monitors[idx] = true;
continue 'outer;
}
}
}
let size = monitor.size();