From 34285e0416b4181ce36f7aef8568ff27c26a60a6 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 15 Mar 2020 10:21:42 +0100 Subject: [PATCH] Fixed showing conversation from notification when starting up with accounts/folders --- app/src/main/java/eu/faircode/email/ViewModelMessages.java | 5 ++++- 1 file changed, 4 insertions(+), 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 9f94f98c8c..61cfc70c51 100644 --- a/app/src/main/java/eu/faircode/email/ViewModelMessages.java +++ b/app/src/main/java/eu/faircode/email/ViewModelMessages.java @@ -218,7 +218,10 @@ public class ViewModelMessages extends ViewModel { Model model = models.get(last); if (model == null) { - Log.w("Observe previous/next without model"); + // When showing accounts or folders + intf.onPrevious(false, null); + intf.onNext(false, null); + intf.onFound(-1, 0); return; }