aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-10-29 17:17:45 -0700
committerScott Jackson <daneren2005@gmail.com>2015-10-29 17:17:45 -0700
commitb51888e6bfd41f163f1b226da001790a418a70e6 (patch)
treecd99eb444a1b9d3f526621d37466922f1f44384f /app/src/main/java/github
parent049501f0f1aa5bace4af1ff90cb076fc220ba0f4 (diff)
downloaddsub-b51888e6bfd41f163f1b226da001790a418a70e6.tar.gz
dsub-b51888e6bfd41f163f1b226da001790a418a70e6.tar.bz2
dsub-b51888e6bfd41f163f1b226da001790a418a70e6.zip
Always give quick scroller to basic fragments
Diffstat (limited to 'app/src/main/java/github')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java
index 787b96e0..84011480 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java
@@ -186,12 +186,8 @@ public abstract class SelectRecyclerFragment<T> extends SubsonicFragment impleme
public void done(List<T> result) {
if (result != null && !result.isEmpty()) {
recyclerView.setAdapter(adapter = getAdapter(result));
- if(adapter instanceof FastScroller.BubbleTextGetter) {
- if(!fastScroller.isAttached()) {
- fastScroller.attachRecyclerView(recyclerView);
- }
- } else if(fastScroller.isAttached()) {
- fastScroller.detachRecyclerView();
+ if(!fastScroller.isAttached()) {
+ fastScroller.attachRecyclerView(recyclerView);
}
onFinishRefresh();