mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 23:36:04 +00:00
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.
This commit is contained in:
1 parent
ff9807ad29
commit
2f1e0a1348
1 file changed
+2
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user