TrackCollectionFragment: fix play all button
The button would not work because the entries are actually of the Album type instead of Entry. Signed-off-by: Philippe Daouadi <philippe@ud2.org>
This commit is contained in:
parent
00dc87d5df
commit
d03b633eeb
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue