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:
Joe Tretter
2026-05-19 15:29:45 -05:00
parent b5e9038c84
commit 2091713409
3 changed files with 14 additions and 4 deletions

View File

@@ -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>" }}",