Modern Apps git

← Modern-Apps.git

wordmaker: fix constant level

Commit
101a172372b5da4cea7494061721e1acb0ee7750
Author
Vayun Mathur <[email protected]>
When
2026-05-10 04:36 UTC (7 months ago)
Parents
a06396f

Diff

games/wordmaker/src/main/java/com/vayunmathur/games/wordmaker/MainActivity.kt
diff --git a/games/wordmaker/src/main/java/com/vayunmathur/games/wordmaker/MainActivity.kt b/games/wordmaker/src/main/java/com/vayunmathur/games/wordmaker/MainActivity.ktindex c361daa70e..ae8e6631a5 100644--- a/games/wordmaker/src/main/java/com/vayunmathur/games/wordmaker/MainActivity.kt+++ b/games/wordmaker/src/main/java/com/vayunmathur/games/wordmaker/MainActivity.kt@@ -145,7 +145,7 @@ fun rememberAchievementsManager(levelDataStore: LevelDataStore): AchievementsMan @Composable fun WordMakerGameLoader(backStack: NavBackStack<Route>, levelDataStore: LevelDataStore) {     val context = LocalContext.current-    val currentLevel = 812 //by levelDataStore.currentLevel.collectAsState(initial = 1)+    val currentLevel by levelDataStore.currentLevel.collectAsState(initial = 1)     var crosswordData by remember { mutableStateOf<CrosswordData?>(null) }     var error by remember { mutableStateOf<String?>(null) }     val dictionary by remember { mutableStateOf(Dictionary()) }