Turned off fast scrol bubble on main library recyler

This commit is contained in:
Jay 2020-02-17 00:18:57 -08:00
parent 83441a5ebd
commit 517f24e5e9
2 changed files with 3 additions and 7 deletions

View File

@ -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()) {

View File

@ -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" />
<androidx.coordinatorlayout.widget.CoordinatorLayout