修正过滤流的逻辑

This commit is contained in:
nilaoda 2022-12-03 00:09:15 +08:00
parent ec43dfce70
commit d2aaf47d6b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace N_m3u8DL_RE.Util
var inputs = lists.Where(_ => true); var inputs = lists.Where(_ => true);
var selected = DoFilterKeep(lists, filter); var selected = DoFilterKeep(lists, filter);
inputs = inputs.SkipWhile(i => selected.Any(s => s.ToString() == i.ToString())); inputs = inputs.Where(i => selected.All(s => s.ToString() != i.ToString()));
return inputs.ToList(); return inputs.ToList();
} }