fix(slint/discover): keep Qobuzissimes in the Home section cache

The configurator offers Qobuzissimes on the Home tab (in DEFAULT_PREFS.home,
off by default), but Slice 2d had removed it from the Home cache, so enabling
it rendered nothing (descriptors_for found no backing data and dropped it).
Visibility is now governed by the prefs (off by default), so keep the data in
the Home cache pool; enabling Qobuzissimes on Home now renders.

cc
This commit is contained in:
vicrodh committed 2026-06-15 13:57:53 -06:00
1 parent 3c4f36e65c
commit 2035cd125e
1 file changed
+11
+11
View File
@@ -169,6 +169,17 @@ where
"/discover/albumOfTheWeek",
containers.album_of_the_week,
);
// Qobuzissimes is OFF on the Home tab by DEFAULT (the prefs control
// visibility now), but the configurator OFFERS it on Home — so keep its data
// in the Home cache pool so enabling it actually renders. Visibility is
// governed by DEFAULT_PREFS (off), not by absence from the cache.
push_section(
&mut sections,
DiscoverySectionId::Qobuzissimes,
"Qobuzissimes",
"/discover/qobuzissims",
containers.qobuzissims,
);
// Capped at 24 (two carousel pages of 12) — the slim carousel
// does not show beyond that.