From b35713c6b13d7c66afcb03d99aa5639f6b8a9464 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Jun 2019 12:32:51 +0200 Subject: [PATCH] Forever ends now --- .../main/java/eu/faircode/email/ViewModelMessages.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ViewModelMessages.java b/app/src/main/java/eu/faircode/email/ViewModelMessages.java index ef2ba312c8..3d6f5055c1 100644 --- a/app/src/main/java/eu/faircode/email/ViewModelMessages.java +++ b/app/src/main/java/eu/faircode/email/ViewModelMessages.java @@ -147,14 +147,6 @@ public class ViewModelMessages extends ViewModel { model = new Model(args, builder.build(), boundary); models.put(viewType, model); - - if (viewType != AdapterMessage.ViewType.THREAD) - // Keep list up-to-date for previous/next navigation - model.list.observeForever(new Observer>() { - @Override - public void onChanged(PagedList messages) { - } - }); } owner.getLifecycle().addObserver(new LifecycleObserver() {