Skip to content

Commit

Permalink
[DESKTOP] Adjust NavigationSuiteScaffold sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
kamgurgul committed Jul 26, 2024
1 parent 208cf3a commit 7bbb492
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ object NavigationSuiteScaffoldDefaults {
fun calculateFromAdaptiveInfo(adaptiveInfo: WindowSizeClass): NavigationSuiteType {
return with(adaptiveInfo) {
if (widthSizeClass == WindowWidthSizeClass.Expanded
&& heightSizeClass == WindowHeightSizeClass.Medium
&& (heightSizeClass == WindowHeightSizeClass.Medium
|| heightSizeClass == WindowHeightSizeClass.Expanded)
) {
NavigationSuiteType.NavigationRail
} else {
Expand Down

0 comments on commit 7bbb492

Please sign in to comment.