detail: fix no divider rendering w/artist albums
This commit is contained in:
parent
f3b73a5196
commit
dc1fe604c4
1 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue