Skip to content

Commit 2abc6c1

Browse files
yaira20x5bfa
andauthored
Update src/Files.App/Actions/Show/ToggleSidebarAction.cs
Co-authored-by: 0x5BFA <[email protected]>
1 parent 0d9d417 commit 2abc6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Actions/Show/ToggleSidebarAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ToggleSidebarAction()
3030

3131
public Task ExecuteAsync(object? parameter = null)
3232
{
33-
SidebarViewModel.SidebarDisplayMode = IsOn
33+
SidebarViewModel.SidebarDisplayMode = !IsOn
3434
? SidebarDisplayMode.Expanded
3535
: SidebarDisplayMode.Compact;
3636
return Task.CompletedTask;

0 commit comments

Comments
 (0)