Files
letro-ios/ElementX
Daniel Anderson 1058c17511 Fix a crash on iOS 26 when the scene's keyWindow is nil at cold start.
On iOS 26, `UIWindowScene.keyWindow` can be nil during scene connection
until the scene becomes active. The implicitly-unwrapped `mainWindow`
then crashes on the next line. Fall back to `scene.windows.first`, which
is the SwiftUI WindowGroup's window and is already attached to the scene
at this point.
2026-05-05 12:08:30 +02:00
..
2026-05-04 15:28:22 +03:00