update timestamps on pull-to-refresh even when no new statuses are fetched (#1393)
This commit is contained in:
parent
d932912616
commit
b1c2fcc157
2 changed files with 2 additions and 0 deletions
|
@ -995,6 +995,7 @@ public class NotificationsFragment extends SFragment implements
|
|||
|
||||
private void update(@Nullable List<Notification> newNotifications, @Nullable String fromId) {
|
||||
if (ListUtils.isEmpty(newNotifications)) {
|
||||
updateAdapter();
|
||||
return;
|
||||
}
|
||||
if (fromId != null) {
|
||||
|
|
|
@ -1116,6 +1116,7 @@ public class TimelineFragment extends SFragment implements
|
|||
|
||||
private void updateStatuses(List<Either<Placeholder, Status>> newStatuses, boolean fullFetch) {
|
||||
if (ListUtils.isEmpty(newStatuses)) {
|
||||
updateAdapter();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue