mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
The bottom navigation bar was used at every window size, which wastes vertical space and looks out of place on wide windows such as desktop and unfolded foldables. Switch MainScreen to NavigationSuiteScaffold, which shows the same bottom bar on compact windows and a navigation rail on medium and wider windows. With a rail, the FAB moves into the rail header; its slot is kept even when the FAB is hidden so the rail items don't jump when switching tabs. The pager no longer swipes between tabs in rail mode, and the custom FAB/bottom bar focus wiring only applies to the bar layout, leaving default 2D focus search for the rail. Assisted-by: Claude Opus 5.5