From 7be6ee9a686f329afaaf2a7e841b63633cf9b3b0 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 22 Jan 2020 18:32:32 -0500 Subject: [PATCH] Remove fast scroller from library Interferes with filter sidebar too much currently. --- .../tachiyomi/ui/library/LibraryCategoryView.kt | 2 -- app/src/main/res/layout/library_category.xml | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt index 0467da3e71..1f33760ab8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt @@ -18,7 +18,6 @@ import eu.kanade.tachiyomi.util.inflate import eu.kanade.tachiyomi.util.plusAssign import eu.kanade.tachiyomi.util.toast import eu.kanade.tachiyomi.widget.AutofitRecyclerView -import kotlinx.android.synthetic.main.library_category.view.fast_scroller import kotlinx.android.synthetic.main.library_category.view.swipe_refresh import rx.subscriptions.CompositeSubscription import uy.kohesive.injekt.injectLazy @@ -82,7 +81,6 @@ class LibraryCategoryView @JvmOverloads constructor(context: Context, attrs: Att recycler.setHasFixedSize(true) recycler.adapter = adapter swipe_refresh.addView(recycler) - adapter.fastScroller = fast_scroller recycler.addOnScrollListener(object : RecyclerView.OnScrollListener() { override fun onScrollStateChanged(recycler: RecyclerView, newState: Int) { diff --git a/app/src/main/res/layout/library_category.xml b/app/src/main/res/layout/library_category.xml index ec152056e1..a792d2b946 100644 --- a/app/src/main/res/layout/library_category.xml +++ b/app/src/main/res/layout/library_category.xml @@ -1,8 +1,6 @@ @@ -11,13 +9,4 @@ android:layout_width="match_parent" android:layout_height="match_parent"/> - -