Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
SirSparkles committed May 30, 2023
1 parent a442688 commit 49785e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions TVRename/Forms/UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,13 @@ private string GroupItemsTitleDelegate(object groupKey)
return HeaderName("Unpack", mDoc.TheActionList.Count(action => action is ActionUnArchive));

case "F-DownloadTorrent":
return HeaderName("Start/Stop Download", mDoc.TheActionList.Count(action => action is ActionTDownload || action is ActionTRemove));
return HeaderName("Start/Stop Download", mDoc.TheActionList.Count(action => action is ActionTDownload or ActionTRemove));

case "E-Delete":
return HeaderName("Remove", mDoc.TheActionList.Count(action => action is ActionDeleteFile || action is ActionDeleteDirectory));
return HeaderName("Remove", mDoc.TheActionList.Count(action => action is ActionDeleteFile or ActionDeleteDirectory));

case "L-Other":
return HeaderName("Remove from library", mDoc.TheActionList.Count(action => action is ChangeLibraryAction));

case "B-Rename":
// ReSharper disable once MergeSequentialPatterns (I think it's clearer this way)
Expand Down

0 comments on commit 49785e9

Please sign in to comment.