diff --git a/src/NewsReader/NewsReader.Applications/Controllers/FeedsController.cs b/src/NewsReader/NewsReader.Applications/Controllers/FeedsController.cs index ae8a6bad..fd9903c0 100644 --- a/src/NewsReader/NewsReader.Applications/Controllers/FeedsController.cs +++ b/src/NewsReader/NewsReader.Applications/Controllers/FeedsController.cs @@ -87,7 +87,7 @@ private void FeedsCollectionChanging(object? sender, NotifyCollectionChangedEven private void FeedsCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e) { - foreach (Feed x in e.NewItems?.Cast() ?? Array.Empty()) LoadFeed(x).NoWait(); + foreach (Feed x in e.NewItems ?? Array.Empty()) LoadFeed(x).NoWait(); } private async Task LoadFeed(Feed feed, bool ignoreInternetAccessStatus = false)