fix: session achievements page no longer sticks on Reading (#961)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-16 15:51:57 +00:00
1 parent 8b7a22e19e
commit 2c37f79701
1 file changed
+2
@@ -2,6 +2,7 @@ package com.droiddeck.launcher.stores
import android.content.Context
import android.util.Log
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.setValue
import com.droiddeck.launcher.stores.epic.EpicAchievements
@@ -15,6 +16,7 @@ import java.util.Locale
abstract class StoreAchievements(val source: String, val label: String) {
@Immutable
data class Game(val source: String, val id: String, val extra: Map<String, String> = emptyMap()) {
companion object {
fun of(item: CatalogItem) = Game(item.store.id, item.id, item.extra)