Skip to content

Commit

Permalink
NR: minor code simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Mar 29, 2024
1 parent a4702b9 commit e825899
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private void FeedsCollectionChanging(object? sender, NotifyCollectionChangedEven

private void FeedsCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e)
{
foreach (Feed x in e.NewItems?.Cast<Feed>() ?? Array.Empty<Feed>()) LoadFeed(x).NoWait();
foreach (Feed x in e.NewItems ?? Array.Empty<Feed>()) LoadFeed(x).NoWait();
}

private async Task LoadFeed(Feed feed, bool ignoreInternetAccessStatus = false)
Expand Down

0 comments on commit e825899

Please sign in to comment.