Auto-commit after successful build: update app gameplay/UI, improve build setup

Changed files:\napp/build.gradle.kts
app/src/main/java/solutions/tretter/githugandroid/GameProgressStore.kt
This commit is contained in:
Joe Tretter
2026-04-24 14:10:15 -05:00
parent 3388227ca9
commit f0f32746a2
2 changed files with 6 additions and 2 deletions

View File

@@ -11,8 +11,8 @@ android {
applicationId = "solutions.tretter.githugandroid" applicationId = "solutions.tretter.githugandroid"
minSdk = 26 minSdk = 26
targetSdk = 34 targetSdk = 34
versionCode = 73 versionCode = 74
versionName = "0.1.72" versionName = "0.1.73"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true

View File

@@ -12,6 +12,10 @@ import kotlinx.coroutines.flow.map
import java.io.IOException import java.io.IOException
class GameProgressStore(private val context: Context) { class GameProgressStore(private val context: Context) {
init {
AppLog.d("ProgressStore", "GameProgressStore initialized")
}
private val dataStore = PreferenceDataStoreFactory.create( private val dataStore = PreferenceDataStoreFactory.create(
produceFile = { context.preferencesDataStoreFile("game_progress_preferences") } produceFile = { context.preferencesDataStoreFile("game_progress_preferences") }
) )