mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 07:20:30 +05:30
Merge pull request #7256 from Bnyro/master
fix: display unstarted downloads in videos tab instead of hiding them
This commit is contained in:
commit
9140b6133c
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user