mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-16 19:50:35 +01:00
Fixed getSectionName
This commit is contained in:
parent
c10d08b862
commit
7068477e23
@ -143,8 +143,7 @@ class ArtistRowAdapter(
|
||||
}
|
||||
|
||||
override fun getSectionName(position: Int): String {
|
||||
val listPosition = if (shouldShowHeader) position - 1 else position
|
||||
return getSectionFromName(artistList[listPosition].name ?: " ")
|
||||
return getSectionFromName(artistList[position].name ?: " ")
|
||||
}
|
||||
|
||||
private fun getSectionForArtist(artistPosition: Int): String {
|
||||
|
Loading…
x
Reference in New Issue
Block a user