From 5718b9e7d9350627732eb4534636affbe1991421 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 8 May 2020 16:04:29 -0400 Subject: [PATCH] Fixed trailing colon in fast scroll bubble for collasped categories --- .../eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt index 533f18c5d8..70c1655b16 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt @@ -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()) {