From 7adef26cfb1475c2f0ba036179a9ab485fea521b Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 22 Feb 2020 15:08:41 +0100 Subject: [PATCH] Refactoring --- .../main/java/eu/faircode/email/AdapterMessage.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index d89ee695d5..7a8f67e5aa 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -234,6 +234,7 @@ public class AdapterMessage extends RecyclerView.Adapter differ; private Map keyPosition = new HashMap<>(); private SelectionTracker selectionTracker = null; @@ -960,7 +961,7 @@ public class AdapterMessage extends RecyclerView.Adapter 0); + searchResult = find(s.toString(), 1); + ibNext.setEnabled(searchResult > 0); } @Override @@ -3788,7 +3787,7 @@ public class AdapterMessage extends RecyclerView.Adapter