[Android] Always show shuffle FAb in audio view
Geoffrey Métais
git at videolan.org
Wed Feb 13 16:16:01 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 13 16:15:17 2019 +0100| [8206f82a075e596f060133a71e7cba9c9bc53a5a] | committer: Geoffrey Métais
Always show shuffle FAb in audio view
> https://code.videolan.org/videolan/vlc-android/commit/8206f82a075e596f060133a71e7cba9c9bc53a5a
---
.../src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index 23a0c0d88..6e26e2a8e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -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);
}
/**
More information about the Android
mailing list