Skip to content

Commit

Permalink
Feature: Improved the separation between multiple shortcuts in the Co…
Browse files Browse the repository at this point in the history
…mmand Palette (#14124)
  • Loading branch information
SGrahambo authored Nov 30, 2023
1 parent dda657d commit 847657f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/Data/Commands/HotKey/HotKeyCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Files.App.Data.Commands
public int Length => hotKeys.Length;

public string Code => string.Join(',', hotKeys.Select(hotKey => hotKey.Code));
public string Label => string.Join(',', hotKeys.Where(hotKey => hotKey.IsVisible).Select(hotKey => hotKey.Label));
public string Label => string.Join(", ", hotKeys.Where(hotKey => hotKey.IsVisible).Select(hotKey => hotKey.Label));

public HotKeyCollection() => hotKeys = ImmutableArray<HotKey>.Empty;
public HotKeyCollection(params HotKey[] hotKeys) => this.hotKeys = Clean(hotKeys);
Expand Down

0 comments on commit 847657f

Please sign in to comment.