From fc86a37bb23811f80f256aee370180f8fcd0f414 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Tue, 14 Jan 2020 21:58:35 +0100 Subject: [PATCH] fix notification refresh (#1638) --- .../tusky/fragment/NotificationsFragment.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java index 9db98bce..d82a86a7 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java @@ -1024,6 +1024,14 @@ public class NotificationsFragment extends SFragment implements } } Log.e(TAG, "Fetch failure: " + exception.getMessage()); + + if (fetchEnd == FetchEnd.TOP) { + topLoading = false; + } + if (fetchEnd == FetchEnd.BOTTOM) { + bottomLoading = false; + } + progressBar.setVisibility(View.GONE); }