mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 20:31:51 +01:00
Turned off fast scrol bubble on main library recyler
This commit is contained in:
parent
83441a5ebd
commit
517f24e5e9
@ -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()) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user