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