mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
Fix loading feed when a channel tab is empty
This commit is contained in:
parent
6b3a178f2a
commit
1519527356
@ -165,7 +165,9 @@ class FeedLoadManager(private val context: Context) {
|
|||||||
}
|
}
|
||||||
.flatMap { (channelTabInfo, linkHandler) ->
|
.flatMap { (channelTabInfo, linkHandler) ->
|
||||||
errors.addAll(channelTabInfo.errors)
|
errors.addAll(channelTabInfo.errors)
|
||||||
if (channelTabInfo.relatedItems.isEmpty()) {
|
if (channelTabInfo.relatedItems.isEmpty() &&
|
||||||
|
channelTabInfo.nextPage != null
|
||||||
|
) {
|
||||||
val infoItemsPage = getMoreChannelTabItems(
|
val infoItemsPage = getMoreChannelTabItems(
|
||||||
subscriptionEntity.serviceId,
|
subscriptionEntity.serviceId,
|
||||||
linkHandler, channelTabInfo.nextPage
|
linkHandler, channelTabInfo.nextPage
|
||||||
|
Loading…
Reference in New Issue
Block a user