Skip to content

Commit 9140b61

Browse files
authored
Merge pull request libre-tube#7256 from Bnyro/master
fix: display unstarted downloads in videos tab instead of hiding them
2 parents 72340af + 2471573 commit 9140b61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/github/libretube/db/obj/DownloadWithItems.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fun List<DownloadWithItems>.filterByTab(tab: DownloadTab) = filter { dl ->
2626
}
2727

2828
DownloadTab.VIDEO -> {
29-
dl.downloadItems.any { it.type == FileType.VIDEO }
29+
dl.downloadItems.any { it.type == FileType.VIDEO } || dl.downloadItems.isEmpty()
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)