Place top categories in the original order
This commit is contained in:
parent
1083f57ec1
commit
81359f929e
@ -76,11 +76,11 @@ public class AppProvider extends FDroidProvider {
|
|||||||
Collections.sort(categories);
|
Collections.sort(categories);
|
||||||
|
|
||||||
// Populate the category list with the real categories, and the
|
// Populate the category list with the real categories, and the
|
||||||
// locally generated meta-categories for "All", "What's New" and
|
// locally generated meta-categories for "What's New", "Recently
|
||||||
// "Recently Updated"...
|
// Updated" and "All"...
|
||||||
|
categories.add(0, getCategoryAll(context));
|
||||||
categories.add(0, getCategoryRecentlyUpdated(context));
|
categories.add(0, getCategoryRecentlyUpdated(context));
|
||||||
categories.add(0, getCategoryWhatsNew(context));
|
categories.add(0, getCategoryWhatsNew(context));
|
||||||
categories.add(0, getCategoryAll(context));
|
|
||||||
|
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user