diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs index 3b3c7687fc754..6d8e898e4f570 100644 --- a/crates/bevy_winit/src/lib.rs +++ b/crates/bevy_winit/src/lib.rs @@ -734,10 +734,9 @@ pub fn winit_runner(mut app: App) { ActiveState::NotYetStarted => { event_writers.lifetime.send(ApplicationLifetime::Started); } - ActiveState::Suspended => { + _ => { event_writers.lifetime.send(ApplicationLifetime::Resumed); } - _ => unreachable!(), } runner_state.active = ActiveState::Active; #[cfg(target_os = "android")]