Show categories on older devices properly (fixes #406)
This commit is contained in:
parent
ddfbcff0cb
commit
dc18bab86f
@ -102,8 +102,8 @@ public class AppListManager {
|
|||||||
if (Build.VERSION.SDK_INT >= 11) {
|
if (Build.VERSION.SDK_INT >= 11) {
|
||||||
categories.addAll(db.getCategories());
|
categories.addAll(db.getCategories());
|
||||||
} else {
|
} else {
|
||||||
List<String> categories = db.getCategories();
|
List<String> categs = db.getCategories();
|
||||||
for (String category : db.getCategories()) {
|
for (String category : categs) {
|
||||||
categories.add(category);
|
categories.add(category);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user