We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a18741 commit 2471573Copy full SHA for 2471573
1 file changed
app/src/main/java/com/github/libretube/db/obj/DownloadWithItems.kt
@@ -26,7 +26,7 @@ fun List<DownloadWithItems>.filterByTab(tab: DownloadTab) = filter { dl ->
26
}
27
28
DownloadTab.VIDEO -> {
29
- dl.downloadItems.any { it.type == FileType.VIDEO }
+ dl.downloadItems.any { it.type == FileType.VIDEO } || dl.downloadItems.isEmpty()
30
31
32
0 commit comments