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" applicationId = "com.kawomi.githugandroid"
minSdk = 26 minSdk = 26
targetSdk = 34 targetSdk = 34
versionCode = 39 versionCode = 40
versionName = "0.1.38" versionName = "0.1.39"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true

View File

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

View File

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

View File

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