Skip to content

Commit e878a62

Browse files
authored
Make drawer expanded by default if LeftDrawerExpandThresholdWidth/RightDrawerExpandThresholdWidth is not set (#485)
#237
1 parent 69bbc33 commit e878a62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Material.Styles/Controls/NavigationDrawer.axaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ private void UpdateDesktopExpand(double w)
291291
}
292292
else
293293
{
294-
_isLeftDrawerDesktopExpanded = false;
294+
_isLeftDrawerDesktopExpanded = true;
295295
}
296296

297297
if (RightDrawerExpandThresholdWidth.HasValue)
@@ -308,7 +308,7 @@ private void UpdateDesktopExpand(double w)
308308
}
309309
else
310310
{
311-
_isRightDrawerDesktopExpanded = false;
311+
_isRightDrawerDesktopExpanded = true;
312312
}
313313
}
314314

0 commit comments

Comments
 (0)