Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09122f41 authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Fix #863 Crash when entering not-existing category

parent 3d0a1fdc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ public class CategoryAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
        this.categories.add(0, clearItem);
        if (currentSearchString != null && currentSearchString.trim().length() > 0) {
            boolean currentSearchStringIsInCategories = false;
            for (NavigationItem category : categories.subList(1, categories.size())) {
            for (NavigationItem category : categories) {
                if (currentSearchString.equals(category.label)) {
                    currentSearchStringIsInCategories = true;
                    break;
+2 −1
Original line number Diff line number Diff line
- ✨ Title and category should be centered if no excerpt is given (#374)
- 🐞 Crash when entering not-existing category (#863)
 No newline at end of file