Require expanded width to be present for device to enter split pane.

This commit is contained in:
Alex Hart committed 2025-11-14 16:10:29 -04:00
1 parent 9173aeabf2
commit 46596fe79e
1 file changed
+1 -1
@@ -50,6 +50,6 @@ fun WindowSizeClass.isSplitPane(
return true
}
return windowWidthSizeClass.isAtLeast(WindowWidthSizeClass.MEDIUM) &&
return windowWidthSizeClass.isAtLeast(WindowWidthSizeClass.EXPANDED) &&
windowHeightSizeClass.isAtLeast(WindowHeightSizeClass.MEDIUM)
}