Errors dialog can now be closed with ESC button

This commit is contained in:
Abdelilah El Aissaoui 2024-10-31 01:37:22 +01:00
parent 644f33ff2c
commit 07e98dae10
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -32,7 +32,9 @@ fun ErrorDialog(
val clipboard = LocalClipboardManager.current
var showStackTrace by remember { mutableStateOf(false) }
MaterialDialog {
MaterialDialog (
onCloseRequested = onAccept,
) {
Column(
modifier = Modifier
.width(580.dp)