fix: display unstarted downloads in videos tab instead of hiding them

This commit is contained in:
Bnyro 2025-03-31 15:25:30 +02:00
parent 1a18741f22
commit 247157322f
No known key found for this signature in database

View File

@ -26,7 +26,7 @@ fun List<DownloadWithItems>.filterByTab(tab: DownloadTab) = filter { dl ->
}
DownloadTab.VIDEO -> {
dl.downloadItems.any { it.type == FileType.VIDEO }
dl.downloadItems.any { it.type == FileType.VIDEO } || dl.downloadItems.isEmpty()
}
}
}