fix notification refresh (#1638)

This commit is contained in:
Konrad Pozniak 2020-01-14 21:58:35 +01:00 committed by GitHub
parent 39915442aa
commit fc86a37bb2
1 changed files with 8 additions and 0 deletions

View File

@ -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);
}