Changed Editor Close button to read "Dismiss" instead.
Configured VSCode Kotlin language server to use the project-local JDK 17.
This commit is contained in:
10
.vscode/settings.json
vendored
10
.vscode/settings.json
vendored
@@ -1,4 +1,14 @@
|
||||
{
|
||||
"kotlin.java.home": "/home/user/Git@Kawomi/Githug-Android/jdk",
|
||||
"kotlin.compiler.jvm.target": "17",
|
||||
"java.jdt.ls.java.home": "/home/user/Git@Kawomi/Githug-Android/jdk",
|
||||
"java.configuration.runtimes": [
|
||||
{
|
||||
"name": "JavaSE-17",
|
||||
"path": "/home/user/Git@Kawomi/Githug-Android/jdk",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"chat.tools.terminal.autoApprove": {
|
||||
"/^bash \\./SetupBuildEnvironment\\.sh --build$/": {
|
||||
"approve": true,
|
||||
|
||||
@@ -19,8 +19,8 @@ android {
|
||||
applicationId = "solutions.tretter.githugandroid"
|
||||
minSdk = 26
|
||||
targetSdk = 35
|
||||
versionCode = 160
|
||||
versionName = "0.1.159"
|
||||
versionCode = 161
|
||||
versionName = "0.1.160"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
@@ -101,8 +101,8 @@ fun TextEditorDialog(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
||||
) {
|
||||
EditorButton(label = "Close", onClick = onClose)
|
||||
EditorButton(label = "Save", enabled = state.saveAsPath.isNotBlank(), onClick = onSave)
|
||||
EditorButton(label = "Dismiss", onClick = onClose)
|
||||
}
|
||||
Text(
|
||||
text = "${state.editor} ${state.path.ifBlank { "<new file>" }}",
|
||||
|
||||
Reference in New Issue
Block a user