Skip to content

Commit 24bb964

Browse files
committed
Remove unused invisible DialogWindow implementation
The redundant invisible `DialogWindow` implementation was removed to clean up the code. This change does not affect functionality but improves maintainability and readability.
1 parent cda4558 commit 24bb964

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

src/commonMain/kotlin/com/kdroid/composetray/tray/api/TrayApp.kt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -421,19 +421,6 @@ private fun ApplicationScope.TrayAppImplOriginal(
421421

422422
DisposableEffect(Unit) { onDispose { tray.dispose() } }
423423

424-
DialogWindow(
425-
onCloseRequest = { /* noop */ },
426-
visible = false,
427-
state = rememberDialogState(
428-
size = DpSize(1.dp, 1.dp),
429-
position = WindowPosition(0.dp, 0.dp)
430-
),
431-
transparent = true,
432-
undecorated = true,
433-
resizable = false,
434-
focusable = false,
435-
) { }
436-
437424
DialogWindow(
438425
onCloseRequest = { requestHideExplicit() },
439426
title = "",

winlib

0 commit comments

Comments
 (0)