mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
The superuser, log and module lists are refreshed whenever their tab is shown, when returning to the main screen, after configuration changes, and on other events (the module list on every activity start, the logs on every superuser request). Each refresh set the loading flag, which replaced the list with a spinner, so the list lost its scroll position and expanded cards collapsed. Module update buttons also disappeared until update info was fetched again. The DenyList even scanned every installed app again on rotation. Only show the loading state until the first load finishes, keep update info of unchanged modules across refreshes, and scan apps for the DenyList only once per screen. Assisted-by: Claude Opus 5.5