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

This commit is contained in:
Alex Hart
2025-11-14 09:33:50 -04:00
parent 9173aeabf2
commit 46596fe79e

View File

@@ -50,6 +50,6 @@ fun WindowSizeClass.isSplitPane(
return true
}
return windowWidthSizeClass.isAtLeast(WindowWidthSizeClass.MEDIUM) &&
return windowWidthSizeClass.isAtLeast(WindowWidthSizeClass.EXPANDED) &&
windowHeightSizeClass.isAtLeast(WindowHeightSizeClass.MEDIUM)
}