fix notification refresh (#1638)

This commit is contained in:
Konrad Pozniak 2020-01-14 21:58:35 +01:00 committed by GitHub
parent f12f126df5
commit 21a7201f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}