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:
@@ -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
|
||||
|
||||
@@ -43,7 +43,9 @@ fun ExercisePane(
|
||||
}
|
||||
TextButton(
|
||||
onClick = onToggleSuggestions,
|
||||
colors = ButtonDefaults.textButtonColors(contentColor = Accent),
|
||||
colors = ButtonDefaults.textButtonColors(containerColor = Accent,
|
||||
contentColor = Color.Black,
|
||||
),
|
||||
) {
|
||||
Text("Suggestions")
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user