mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-07 00:03:44 +01:00
Require expanded width to be present for device to enter split pane.
This commit is contained in:
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)
|
||||
}
|
||||
Reference in new issue
Block a user