diff --git a/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt b/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt index 0f1cc4074..b2c6548b0 100644 --- a/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt +++ b/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt @@ -101,7 +101,6 @@ fun FloconPanel( EscapeHandler { coroutineScope.launch { state.hide() - onDismissRequest() } true } diff --git a/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt b/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt index 21f517fd1..d3bf8ef2f 100644 --- a/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt +++ b/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt @@ -54,7 +54,6 @@ data class PanelScene( onClick = { scope.launch { state.hide() - onBack() } }, modifier = Modifier @@ -70,7 +69,6 @@ data class PanelScene( scope.launch { onPin.onPin() state.hide() - onBack() } }, modifier = Modifier