Fixed playlist menu not working.

This commit is contained in:
Karim Abou Zeid 2016-01-30 18:04:25 +01:00
commit b845139254

View file

@ -48,8 +48,9 @@ public class PlaylistSongAdapter extends SongAdapter implements DraggableItemAda
switch (menuItem.getItemId()) { switch (menuItem.getItemId()) {
case R.id.action_remove_from_playlist: case R.id.action_remove_from_playlist:
RemoveFromPlaylistDialog.create((ArrayList<PlaylistSong>) (List) selection).show(activity.getSupportFragmentManager(), "ADD_PLAYLIST"); RemoveFromPlaylistDialog.create((ArrayList<PlaylistSong>) (List) selection).show(activity.getSupportFragmentManager(), "ADD_PLAYLIST");
break; return;
} }
super.onMultipleItemAction(menuItem, selection);
} }
@Override @Override