From 2f1e0a1348b30b10e34ff686055c1ef712b9ef53 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Thu, 8 Oct 2026 22:45:38 -0400 Subject: [PATCH] Stores: GOG's shelf cache is re-read with the mature mark Shelves cached by the previous build have no mature field and would show every title until they aged out; the cache key moves to v2. --- .../java/com/droiddeck/launcher/stores/gog/GogStoreCatalog.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/droiddeck/launcher/stores/gog/GogStoreCatalog.kt b/app/src/main/java/com/droiddeck/launcher/stores/gog/GogStoreCatalog.kt index 9768ac6fef..57435c9d10 100644 --- a/app/src/main/java/com/droiddeck/launcher/stores/gog/GogStoreCatalog.kt +++ b/app/src/main/java/com/droiddeck/launcher/stores/gog/GogStoreCatalog.kt @@ -26,7 +26,8 @@ object GogStoreCatalog { private const val CATALOG = "https://catalog.gog.com/v1/catalog" private const val FEATURED_TTL_MS = 30 * 60 * 1000L private const val SEARCH_TTL_MS = 5 * 60 * 1000L - private const val KEY_FEATURED = "store_featured" + // v2: entries carry the mature mark; an older cache would show everything until it aged out. + private const val KEY_FEATURED = "store_featured_v2" private val supportedCurrencies = setOf( "USD", "EUR", "GBP", "AUD", "CAD", "CHF", "DKK", "NOK", "PLN", "SEK", "BRL", "CNY",