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

Fix last track hidden in info activity

parent 9fbbc2ee
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ public class MediaInfoAdapter extends RecyclerView.Adapter<MediaInfoAdapter.View
mDataset = tracks;
if (size > 0)
notifyItemRangeRemoved(0, size-1);
notifyItemRangeInserted(0, tracks.size()-1);
notifyItemRangeInserted(0, tracks.size());
}
private void appendCommon(StringBuilder textBuilder, Resources res, Media.Track track) {
......
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