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/Terminal.kt
This commit is contained in:
@@ -11,8 +11,8 @@ android {
|
||||
applicationId = "com.kawomi.githugandroid"
|
||||
minSdk = 26
|
||||
targetSdk = 34
|
||||
versionCode = 55
|
||||
versionName = "0.1.54"
|
||||
versionCode = 56
|
||||
versionName = "0.1.55"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
@@ -87,12 +87,6 @@ fun TerminalPane(
|
||||
outputVerticalScroll.animateScrollTo(outputVerticalScroll.maxValue)
|
||||
}
|
||||
|
||||
LaunchedEffect(output.size, commandInput.text) {
|
||||
//if (output.isNotEmpty() && commandInput.text.isEmpty()) {
|
||||
horizontalScroll.scrollTo(0)
|
||||
//}
|
||||
}
|
||||
|
||||
fun submitCommand() {
|
||||
focusManager.clearFocus(force = true)
|
||||
keyboardController?.hide()
|
||||
@@ -104,7 +98,6 @@ fun TerminalPane(
|
||||
.fillMaxSize()
|
||||
.background(TerminalBackground, RoundedCornerShape(12.dp))
|
||||
.padding(8.dp)
|
||||
.horizontalScroll(horizontalScroll),
|
||||
) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
@@ -145,7 +138,6 @@ fun TerminalPane(
|
||||
.widthIn(min = terminalMinWidth)
|
||||
.background(PanelPrimary, RoundedCornerShape(8.dp))
|
||||
.padding(horizontal = 8.dp, vertical = 3.dp),
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
Text(
|
||||
|
||||
Reference in New Issue
Block a user