diff --git a/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt b/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt index a8171530f..0d7a9a11f 100644 --- a/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt +++ b/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt @@ -264,7 +264,9 @@ class FeedFragment : BaseListFragment() { ) } - if (oldestSubscriptionUpdate != loadedState.oldestUpdate) { + if (oldestSubscriptionUpdate != loadedState.oldestUpdate || + (oldestSubscriptionUpdate == null && loadedState.oldestUpdate == null) + ) { // ignore errors if they have already been handled for the current update handleItemsErrors(loadedState.itemsErrors) } @@ -302,7 +304,7 @@ class FeedFragment : BaseListFragment() { subscriptionEntity -> handleFeedNotAvailable( subscriptionEntity, - t.cause?.cause, + t.cause, errors.subList(i + 1, errors.size) ) },