Skip to content
Snippets Groups Projects
Commit 8206f82a authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Always show shuffle FAb in audio view

parent 6525fe9a
No related branches found
No related tags found
No related merge requests found
Pipeline #4593 passed with stage
in 4 minutes and 28 seconds
......@@ -225,13 +225,8 @@ public class AudioBrowserFragment extends BaseAudioBrowser implements SwipeRefre
MediaUtils.INSTANCE.playAll(view.getContext(), tracksModel, 0, true);
}
@Override
public void setFabPlayVisibility(boolean enable) {
super.setFabPlayVisibility(enable && mViewPager.getCurrentItem() == MODE_SONG);
}
private void setFabPlayShuffleAllVisibility() {
setFabPlayVisibility(mViewPager.getCurrentItem() == MODE_SONG && mSongsAdapter.getItemCount() > 2);
setFabPlayVisibility(mSongsAdapter.getItemCount() > 2);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment