Show categories on older devices properly (fixes #406)

This commit is contained in:
Daniel Martí 2013-11-10 18:43:03 +01:00
parent ddfbcff0cb
commit dc18bab86f

View File

@ -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);
} }
} }