diff --git a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/ArtistRowAdapter.kt b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/ArtistRowAdapter.kt index 0b5ec873..5c289c8b 100644 --- a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/ArtistRowAdapter.kt +++ b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/ArtistRowAdapter.kt @@ -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 {