fix notification refresh (#1638)

main
Konrad Pozniak 5 years ago committed by GitHub
parent 39915442aa
commit fc86a37bb2
  1. 8
      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()); Log.e(TAG, "Fetch failure: " + exception.getMessage());
if (fetchEnd == FetchEnd.TOP) {
topLoading = false;
}
if (fetchEnd == FetchEnd.BOTTOM) {
bottomLoading = false;
}
progressBar.setVisibility(View.GONE); progressBar.setVisibility(View.GONE);
} }

Loading…
Cancel
Save