detail: fix incorrect disc section generation
This commit is contained in:
parent
4917330633
commit
4accfaafaf
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ private class DetailGeneratorImpl(
|
|||
val songs = listSettings.albumSongSort.songs(album.songs)
|
||||
val discs = songs.groupBy { it.disc }
|
||||
val section =
|
||||
if (discs.size > 1 || discs.keys.first() != null) {
|
||||
if (discs.size > 1) {
|
||||
DetailSection.Discs(discs)
|
||||
} else {
|
||||
DetailSection.Songs(songs)
|
||||
|
|
Loading…
Reference in a new issue