Mobile scrolling fix
This commit is contained in:
@@ -134,7 +134,7 @@ public class MusicControl{
|
||||
|
||||
/** Plays a music track once and only once. If something is already playing, does nothing.*/
|
||||
private void playOnce(@NonNull Music music){
|
||||
if(current != null) return; //do not interrupt already-playing tracks
|
||||
if(current != null || music == null) return; //do not interrupt already-playing tracks
|
||||
|
||||
//save last random track played to prevent duplicates
|
||||
lastRandomPlayed = music;
|
||||
|
||||
Reference in New Issue
Block a user