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

Use view rcontext instead of application one

parent ffc4f593
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ public class VideoListAdapter extends SortableAdapter<MediaWrapper, VideoListAda
if (media.getType() == MediaWrapper.TYPE_GROUP) {
MediaGroup mediaGroup = (MediaGroup) media;
final int size = mediaGroup.size();
text = VLCApplication.getAppResources().getQuantityString(R.plurals.videos_quantity, size, size);
text = holder.itemView.getResources().getQuantityString(R.plurals.videos_quantity, size, size);
} else {
/* Time / Duration */
if (media.getLength() > 0) {
......
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