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:
@@ -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
|
||||||
|
|||||||
@@ -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") }
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user