From 7ca15a2aeee1a3455a9b6746c5a3ae13d4ce7633 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 5 Mar 2019 19:26:17 +0000 Subject: [PATCH] Restart spinner on resume --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 5526d502d1..662e237297 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1640,6 +1640,12 @@ public class FragmentMessages extends FragmentBase { int zoom = prefs.getInt("zoom", compact ? 0 : 1); adapter.setCompact(compact); adapter.setZoom(zoom); + + // Restart spinner + if (swipeRefresh.isRefreshing()) { + swipeRefresh.setRefreshing(false); + swipeRefresh.setRefreshing(true); + } } @Override