Fixed trailing colon in fast scroll bubble for collasped categories

This commit is contained in:
Jay 2020-05-08 16:04:29 -04:00
parent 2c79b97815
commit 5718b9e7d9

View file

@ -120,7 +120,7 @@ class LibraryCategoryAdapter(val controller: LibraryController) :
if (!preferences.hideCategories().getOrDefault()) item.category.name
else recyclerView.context.getString(R.string.top)
is LibraryItem -> {
val text = if (item.manga.isBlank()) ""
val text = if (item.manga.isBlank()) return item.header?.category?.name.orEmpty()
else when (getSort(position)) {
LibrarySort.DRAG_AND_DROP -> {
if (!preferences.hideCategories().getOrDefault()) {