mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Require expanded width to be present for device to enter split pane.
This commit is contained in:
@@ -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