detail: generate sort header w/discs

This commit is contained in:
Alexander Capehart 2024-10-14 12:46:05 -06:00
parent 3afbedb6bd
commit 6f3fc5904a
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -547,7 +547,7 @@ constructor(
section.items
}
is DetailSection.Discs -> {
val header = BasicHeader(section.stringRes)
val header = SortHeader(section.stringRes)
newList.add(Divider(header))
newList.add(header)
section.discs.flatMap { listOf(DiscHeader(it.key)) + it.value }