Fixes the same typo in 3 places.

This commit is contained in:
Vavassor 2017-06-30 19:49:10 -04:00
parent 275cd51a6d
commit 6b0ae5be95
3 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ public abstract class AccountAdapter extends RecyclerView.Adapter {
}
int end = accountList.size();
Account last = accountList.get(end - 1);
if (last != null && !findAccount(accountList, last.id)) {
if (last != null && !findAccount(newAccounts, last.id)) {
accountList.addAll(newAccounts);
notifyItemRangeInserted(end, newAccounts.size());
}

View file

@ -214,7 +214,7 @@ public class NotificationsAdapter extends RecyclerView.Adapter implements Adapte
}
int end = notifications.size();
Notification last = notifications.get(end - 1);
if (last != null && !findNotification(notifications, last.id)) {
if (last != null && !findNotification(newNotifications, last.id)) {
notifications.addAll(newNotifications);
notifyItemRangeInserted(end, newNotifications.size());
}

View file

@ -146,7 +146,7 @@ public class TimelineAdapter extends RecyclerView.Adapter implements AdapterItem
}
int end = statuses.size();
Status last = statuses.get(end - 1);
if (last != null && !findStatus(statuses, last.id)) {
if (last != null && !findStatus(newStatuses, last.id)) {
statuses.addAll(newStatuses);
notifyItemRangeInserted(end, newStatuses.size());
}