detail: fix no divider rendering w/artist albums
This commit is contained in:
@@ -623,8 +623,11 @@ constructor(
|
|||||||
|
|
||||||
logD("Release groups for this artist: ${grouping.keys}")
|
logD("Release groups for this artist: ${grouping.keys}")
|
||||||
|
|
||||||
for (entry in grouping.entries) {
|
for ((i, entry) in grouping.entries.withIndex()) {
|
||||||
val header = BasicHeader(entry.key.headerTitleRes)
|
val header = BasicHeader(entry.key.headerTitleRes)
|
||||||
|
if (i > 0) {
|
||||||
|
list.add(Divider(header))
|
||||||
|
}
|
||||||
list.add(header)
|
list.add(header)
|
||||||
list.addAll(ARTIST_ALBUM_SORT.albums(entry.value))
|
list.addAll(ARTIST_ALBUM_SORT.albums(entry.value))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user