mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
fix: display unstarted downloads in videos tab instead of hiding them
This commit is contained in:
parent
1a18741f22
commit
247157322f
@ -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