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/GitHugApp.kt
This commit is contained in:
@@ -19,8 +19,8 @@ android {
|
|||||||
applicationId = "solutions.tretter.githugandroid"
|
applicationId = "solutions.tretter.githugandroid"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 111
|
versionCode = 112
|
||||||
versionName = "0.1.110"
|
versionName = "0.1.111"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
|||||||
@@ -315,12 +315,8 @@ fun GitHugApp() {
|
|||||||
"Level solved ${levelForResult.id}; advancing to next incomplete index=$nextLevelIndex id=$nextLevelId",
|
"Level solved ${levelForResult.id}; advancing to next incomplete index=$nextLevelIndex id=$nextLevelId",
|
||||||
)
|
)
|
||||||
scope.launch { persistProgress(updatedCompletedLevels, nextLevelId) }
|
scope.launch { persistProgress(updatedCompletedLevels, nextLevelId) }
|
||||||
loadLevel(
|
loadLevel(nextLevelIndex, message = emptyList())
|
||||||
nextLevelIndex,
|
scope.launch { screenScrollState.animateScrollTo(0) }
|
||||||
message = newOutput + listOf(
|
|
||||||
"Next level loaded: ${levels[nextLevelIndex].title}",
|
|
||||||
),
|
|
||||||
)
|
|
||||||
} else {
|
} else {
|
||||||
AppLog.d("GitHugApp", "All levels completed")
|
AppLog.d("GitHugApp", "All levels completed")
|
||||||
scope.launch { persistProgress(updatedCompletedLevels, levels.lastOrNull()?.id) }
|
scope.launch { persistProgress(updatedCompletedLevels, levels.lastOrNull()?.id) }
|
||||||
|
|||||||
Reference in New Issue
Block a user