Merge pull request #691 from blastrock/fix-play-all

TrackCollectionFragment: fix play all button
This commit is contained in:
Nite 2022-02-20 13:46:32 +01:00 committed by GitHub
commit 7dd479c0d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ open class TrackCollectionFragment : MultiListFragment<MusicDirectory.Child>() {
var hasSubFolders = false
for (item in viewAdapter.getCurrentList()) {
if (item is MusicDirectory.Entry && item.isDirectory) {
if (item is MusicDirectory.Child && item.isDirectory) {
hasSubFolders = true
break
}