Skip to content

Commit be16191

Browse files
authored
Fix: Fixed issue where View more and Open all in Tags widget were disabled (#15236)
1 parent 27ec4a9 commit be16191

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Files.App/Data/Items/WidgetFileTagsContainerItem.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public WidgetFileTagsContainerItem(string tagUid, Func<string, Task> openAction)
5252
_openAction = openAction;
5353
Tags = [];
5454

55-
ViewMoreCommand = new AsyncRelayCommand<CancellationToken>(ViewMore);
56-
OpenAllCommand = new AsyncRelayCommand<CancellationToken>(OpenAll);
55+
ViewMoreCommand = new AsyncRelayCommand(ViewMore);
56+
OpenAllCommand = new AsyncRelayCommand(OpenAll);
5757
}
5858

5959
/// <inheritdoc/>
@@ -66,12 +66,12 @@ public async Task InitAsync(CancellationToken cancellationToken = default)
6666
}
6767
}
6868

69-
private Task ViewMore(CancellationToken cancellationToken)
69+
private Task ViewMore()
7070
{
7171
return _openAction($"tag:{Name}");
7272
}
7373

74-
private Task OpenAll(CancellationToken cancellationToken)
74+
private Task OpenAll()
7575
{
7676
SelectedTagChanged?.Invoke(this, new SelectedTagChangedEventArgs(Tags.Select(tag => (tag.Path, tag.IsFolder))));
7777

0 commit comments

Comments
 (0)