Commit 6bef1241 authored by Sébastien Toque's avatar Sébastien Toque

playlist: fix media switcher when there is no previous

parent 70f6eac6
...@@ -78,6 +78,8 @@ public class AudioMediaSwitcher extends FlingViewGroup { ...@@ -78,6 +78,8 @@ public class AudioMediaSwitcher extends FlingViewGroup {
previousPosition = 1; previousPosition = 1;
scrollTo(1); scrollTo(1);
} }
else
scrollTo(0);
} }
private void addMediaView(LayoutInflater inflater, String title, String artist, Bitmap cover) { private void addMediaView(LayoutInflater inflater, String title, String artist, Bitmap cover) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment