Commit 6cf341d5 authored by Geoffrey Métais's avatar Geoffrey Métais

Use view rcontext instead of application one

parent ffc4f593
...@@ -222,7 +222,7 @@ public class VideoListAdapter extends SortableAdapter<MediaWrapper, VideoListAda ...@@ -222,7 +222,7 @@ public class VideoListAdapter extends SortableAdapter<MediaWrapper, VideoListAda
if (media.getType() == MediaWrapper.TYPE_GROUP) { if (media.getType() == MediaWrapper.TYPE_GROUP) {
MediaGroup mediaGroup = (MediaGroup) media; MediaGroup mediaGroup = (MediaGroup) media;
final int size = mediaGroup.size(); 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 { } else {
/* Time / Duration */ /* Time / Duration */
if (media.getLength() > 0) { if (media.getLength() > 0) {
......
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