mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-01 19:51:34 +01:00
update timestamps on pull-to-refresh even when no new statuses are fetched (#1393)
This commit is contained in:
parent
d932912616
commit
b1c2fcc157
@ -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 New Issue
Block a user