File tree Expand file tree Collapse file tree
src/commonMain/kotlin/com/kdroid/composetray/tray/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -707,7 +707,6 @@ private fun ApplicationScope.TrayAppImplLinux(
707707 menu : (TrayMenuBuilder .() -> Unit )? ,
708708 content : @Composable DialogWindowScope .() -> Unit ,
709709) {
710- val isKde = detectLinuxDesktopEnvironment() == LinuxDesktopEnvironment .KDE
711710 val trayAppState = state ? : rememberTrayAppState(
712711 initialWindowSize = windowSize ? : DpSize (300 .dp, 200 .dp),
713712 initiallyVisible = visibleOnStart,
@@ -742,7 +741,6 @@ private fun ApplicationScope.TrayAppImplLinux(
742741 }
743742
744743 val dialogState = rememberDialogState(position = initialPositionForFirstFrame, size = currentWindowSize)
745- if (isKde) SideEffect { dialogState.position = initialPositionForFirstFrame }
746744 LaunchedEffect (currentWindowSize) { dialogState.size = currentWindowSize }
747745
748746 // Visibility controller for exit-finish detection; content will NOT be disposed.
You can’t perform that action at this time.
0 commit comments