mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-16 11:41:16 +01:00
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…
x
Reference in New Issue
Block a user