fix notification refresh (#1638)
This commit is contained in:
parent
f12f126df5
commit
21a7201f8a
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue