mirror of
https://github.com/tuskyapp/Tusky
synced 2025-02-05 18:48:14 +01:00
Fix bug with paired list incorrectly adding to the specified position.
This bug led to incorrect refreshing of the timeline
This commit is contained in:
parent
38db48c7cb
commit
c6aad085a9
@ -68,7 +68,7 @@ public final class PairedList<T, V> extends AbstractList<T> {
|
||||
@Override
|
||||
public void add(int index, T element) {
|
||||
synced.add(index, mapper.apply(element));
|
||||
main.add(element);
|
||||
main.add(index, element);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user