diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java | 8 |
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(); |