mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
fix: session achievements page no longer sticks on Reading (#961)
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user