mirror of
https://github.com/FluxaMedia/fluxa.git
synced 2026-08-05 00:08:56 +00:00
HomeCategoryCache.load() has existed since before this migration but was never called anywhere — the ViewModel only ever wrote to it (setCategoriesAndCache -> homeCategoryCache.save), so cold app starts always waited on a full network fetch with nothing to show. Home now seeds _categories from the cached snapshot synchronously in loadInitialData before the network fetch starts, so a relaunch shows last-known content immediately while the real refresh happens in the background, same as the isLoading/rows.isEmpty() gating already in place downstream. Skeleton placeholders (Home, Search, Discover) were static gray boxes. Added Modifier.skeletonShimmer(), a small infinite-transition color pulse between FluxaColors.surfaceCard and surfaceRaised, applied to all three. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||