mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 05:45:07 +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"
|
"Bottom"
|
||||||
} else { // Get and show the first character
|
} else { // Get and show the first character
|
||||||
val iFlexible: IFlexible<*>? = getItem(position)
|
val iFlexible: IFlexible<*>? = getItem(position)
|
||||||
return if (iFlexible is LibraryHeaderItem) {
|
if (iFlexible is LibraryHeaderItem) {
|
||||||
iFlexible.category.name
|
return iFlexible.category.name
|
||||||
} else {
|
|
||||||
val db:DatabaseHelper by injectLazy()
|
|
||||||
val category = db.getCategoriesForManga((iFlexible as LibraryItem).manga).executeAsBlocking().firstOrNull()?.name
|
|
||||||
category?.chop(10) ?: "Default"
|
|
||||||
}
|
}
|
||||||
val preferences:PreferencesHelper by injectLazy()
|
val preferences:PreferencesHelper by injectLazy()
|
||||||
when (preferences.librarySortingMode().getOrDefault()) {
|
when (preferences.librarySortingMode().getOrDefault()) {
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="end"
|
android:layout_gravity="end"
|
||||||
app:fastScrollerBubbleEnabled="true"
|
app:fastScrollerBubbleEnabled="false"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user