From 2abe80b20c335c9db8ea1d776e3fc647a2cdab92 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 26 Jan 2019 17:51:15 +0000 Subject: [PATCH] Fixed crash --- app/src/main/java/eu/faircode/email/ViewModelMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ViewModelMessages.java b/app/src/main/java/eu/faircode/email/ViewModelMessages.java index 28a673441f..efb0800204 100644 --- a/app/src/main/java/eu/faircode/email/ViewModelMessages.java +++ b/app/src/main/java/eu/faircode/email/ViewModelMessages.java @@ -96,7 +96,7 @@ public class ViewModelMessages extends ViewModel { } else intf.onNext(null); - if (pos + 1 <= list.size()) { + if (pos + 1 < list.size()) { TupleMessageEx prev = list.get(pos + 1); if (prev == null) load = true;