File tree Expand file tree Collapse file tree
desktopApp/src/jvmMain/kotlin/com/prof18/feedflow/desktop/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -372,6 +372,7 @@ internal fun DockedDrawerLayout(
372372 paneContent : @Composable () -> Unit ,
373373) {
374374 val macOsTopPadding = if (getDesktopOS().isMacOs()) Spacing .medium else 0 .dp
375+ val colorScheme = MaterialTheme .colorScheme
375376
376377 Row (modifier = Modifier .fillMaxSize()) {
377378 if (isDockedDrawerVisible) {
@@ -384,7 +385,7 @@ internal fun DockedDrawerLayout(
384385 if (hazeStyle != null ) {
385386 base.hazeEffect(state = hazeState, style = hazeStyle)
386387 } else {
387- base.background(MaterialTheme . colorScheme.surface )
388+ base.background(colorScheme.surfaceContainer )
388389 }
389390 },
390391 ) {
@@ -395,6 +396,16 @@ internal fun DockedDrawerLayout(
395396 ) {
396397 drawerContent()
397398 }
399+
400+ if (hazeStyle == null ) {
401+ Box (
402+ modifier = Modifier
403+ .align(Alignment .CenterEnd )
404+ .fillMaxHeight()
405+ .width(1 .dp)
406+ .background(colorScheme.outlineVariant.copy(alpha = 0.6f )),
407+ )
408+ }
398409 }
399410 }
400411 val paneTopPadding = if (isDockedDrawerVisible) Spacing .small else macOsTopPadding
You can’t perform that action at this time.
0 commit comments