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

Always group videos, no threshold anymore

parent a9f1009b
No related branches found
No related tags found
No related merge requests found
......@@ -358,7 +358,7 @@ public class VideoGridFragment extends MediaBrowserFragment implements MediaUpda
public void run() {
final MediaWrapper[] itemList = mMediaLibrary.getVideos();
final ArrayList<MediaWrapper> displayList = new ArrayList<>();
if (mGroup != null || itemList.length <= 10) {
if (mGroup != null) {
for (MediaWrapper item : itemList) {
String title = item.getTitle().substring(item.getTitle().toLowerCase().startsWith("the") ? 4 : 0);
if (mGroup == null || title.toLowerCase().startsWith(mGroup.toLowerCase()))
......
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