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