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 f89f091017..b023934fdc 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 @@ -85,12 +85,8 @@ class LibraryCategoryAdapter(val libraryListener: LibraryListener) : "Bottom" } else { // Get and show the first character val iFlexible: IFlexible<*>? = getItem(position) - return if (iFlexible is LibraryHeaderItem) { - iFlexible.category.name - } else { - val db:DatabaseHelper by injectLazy() - val category = db.getCategoriesForManga((iFlexible as LibraryItem).manga).executeAsBlocking().firstOrNull()?.name - category?.chop(10) ?: "Default" + if (iFlexible is LibraryHeaderItem) { + return iFlexible.category.name } val preferences:PreferencesHelper by injectLazy() when (preferences.librarySortingMode().getOrDefault()) { diff --git a/app/src/main/res/layout/library_controller.xml b/app/src/main/res/layout/library_controller.xml index 5703f91381..ca580fbaa2 100644 --- a/app/src/main/res/layout/library_controller.xml +++ b/app/src/main/res/layout/library_controller.xml @@ -34,7 +34,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="end" - app:fastScrollerBubbleEnabled="true" + app:fastScrollerBubbleEnabled="false" tools:visibility="visible" />