Merge pull request #7256 from Bnyro/master

fix: display unstarted downloads in videos tab instead of hiding them
This commit is contained in:
Bnyro 2025-03-31 15:25:57 +02:00 committed by GitHub
commit 9140b6133c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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()
}
}
}