mirror of
https://github.com/FluxaMedia/fluxa.git
synced 2026-08-04 15:59:06 +00:00
The shared shell was only mounted while on Home/Search/Discover/ Calendar; navigating to any other native screen (Detail, Sources, Player, Settings, AddonStore) disposed it entirely, so returning to any of those four tabs remounted from scratch — fresh stores, fresh StateFlow defaults (isLoading=true, empty items), and a real re-fetch, even though the underlying HomeViewModel data was already cached. That produced the "blank calendar/grid when coming back from another page" symptom. FluxaAppHost (mobile) is now always composed as a background layer behind AppRoutesHost's native AnimatedContent, which only draws on top (opaque) when the active screen isn't one of those four. The shell itself is never disposed by navigating elsewhere, so its stores keep their last-known state and returning to a tab is instant. Also replaced Discover's full-screen blocking spinner on first load with a skeleton grid (18 placeholder cards) so the filter row stays visible and the transition to real results doesn't hide the whole screen behind a spinner. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||