Skip to content

Commit 2471573

Browse files
committed
fix: display unstarted downloads in videos tab instead of hiding them
1 parent 1a18741 commit 2471573

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)