mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
A screen's back button stays clickable while the screen slides out, so tapping it twice quickly called Navigator.pop() twice. The second call removed Route.Main, and NavDisplay crashed the app because its back stack must not be empty. Make pop() a no-op on the root entry. Leaving the app from the root is handled by the system, not by popping the last entry. Assisted-by: Claude Opus 5.5