Never display split pane on devices whose height is COMPODACT.

This commit is contained in:
Alex Hart
2025-11-05 09:13:23 -04:00
committed by Michelle Tang
parent 680d436038
commit bf0307f4b0

View File

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