Files
Magisk/app
topjohnwu 747f5196ad app: never pop the root navigation entry
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
2026-10-24 13:01:45 -07:00
..
2025-06-16 02:17:29 -07:00
2025-06-16 02:17:29 -07:00