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

Changed files:\napp/build.gradle.kts
app/src/main/java/com/kawomi/githugandroid/Exercise.kt
app/src/main/java/com/kawomi/githugandroid/Panes.kt
app/src/main/java/com/kawomi/githugandroid/Terminal.kt
This commit is contained in:
Joe Tretter
2026-04-23 21:06:37 -05:00
parent 542372eda0
commit 362c2286ba
4 changed files with 7 additions and 5 deletions

View File

@@ -11,8 +11,8 @@ android {
applicationId = "com.kawomi.githugandroid"
minSdk = 26
targetSdk = 34
versionCode = 39
versionName = "0.1.38"
versionCode = 40
versionName = "0.1.39"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true

View File

@@ -43,7 +43,9 @@ fun ExercisePane(
}
TextButton(
onClick = onToggleSuggestions,
colors = ButtonDefaults.textButtonColors(contentColor = Accent),
colors = ButtonDefaults.textButtonColors(containerColor = Accent,
contentColor = Color.Black,
),
) {
Text("Suggestions")
}

View File

@@ -79,7 +79,7 @@ fun PaneWorkspace(
}
}
if (index < paneLayout.order.lastIndex) {
if (index <= paneLayout.order.lastIndex) {
val upper = paneId
val lower = paneLayout.order[index + 1]
PaneDivider(

View File

@@ -120,7 +120,7 @@ fun TerminalPane(
) {
Box(
modifier = Modifier
.heightIn(min = 120.dp, max = maxOutputHeight)
.heightIn(min = 200.dp, max = maxOutputHeight)
.height(desiredOutputHeight)
.fillMaxWidth()
.background(PanelPrimary, RoundedCornerShape(10.dp))