mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-07-28 14:47:21 -07:00
FlashScreen's useTerminal was a plain getter on flashAction, which was only set in LaunchedEffect (after first composition). Since it wasn't a Compose State, no recomposition occurred, leaving the screen stuck on an empty LazyColumn. The unreachable TerminalComposeView meant onEmulatorReady was never called, hanging the coroutine and eventually crashing the process. Pass the action from the route key directly to FlashScreen so it can pick the correct UI path on the very first composition. Made-with: Cursor