Skip to content

Commit 1d81df8

Browse files
committed
Code Quality: Added shortcuts to Dual Pane & Filter actions
1 parent 5c707d7 commit 1d81df8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public string Label
1414
public string Description
1515
=> Strings.ToggleDualPaneDescription.GetLocalizedResource();
1616

17+
public HotKey HotKey
18+
=> new(Keys.S, KeyModifiers.CtrlShift);
19+
1720
public bool IsOn
1821
=> ContentPageContext.IsMultiPaneActive;
1922

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ public string Description
1717
public RichGlyph Glyph
1818
=> new(themedIconStyle: "App.ThemedIcons.Filter");
1919

20+
public HotKey HotKey
21+
=> new(Keys.F, KeyModifiers.CtrlShift);
22+
2023
public bool IsOn
2124
=> generalSettingsService.ShowFilterHeader;
2225

0 commit comments

Comments
 (0)