Modern Apps git

← Modern-Apps.git

wordmaker: return level to actual level instead of constant 862 #36 #32

Commit
d490ddfafcc505c49aeb610ee9d97a451be87bd3
Author
Vayun Mathur <[email protected]>
When
2026-04-13 15:53 UTC (7 months ago)
Parents
1b026ee

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 a526950136..ec72739491 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@@ -100,7 +100,7 @@ class MainActivity : ComponentActivity() { fun WordMakerGameLoader() {     val context = LocalContext.current     val levelDataStore = remember { LevelDataStore(context) }-    val currentLevel = 862 // 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()) }