mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Refactor Navigator to wrap NavBackStack<NavKey> with Parcelable listSaver and multi-key support, and remove dead @Serializable annotations and imports from Routes.kt. Implement hierarchical tab back navigation in MainScreen to animate scroll to Tab.HOME before bubbling to root exit, only while Route.Main is the current destination. Scope child pager pages in MainScreen and LogScreen with rememberNavigationEventDispatcherOwner(enabled = isCurrentPage) to prevent inactive offscreen tabs from intercepting navigation events. Add NavigationBackHandler and exit confirmation dialogs to FlashScreen and ActionScreen during active execution, and guard TopAppBar back navigation buttons while operations are in progress. Add NavigationBackHandler and TopAppBar back interception to DenyListScreen and SuperuserGrantScreen to collapse active search queries before exiting the screen. Assisted-by: Gemini 4 Argon Assisted-by: Claude Opus 5.5