mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-18 02:02:23 +03: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