forked from mirrors/Fedilab
Fix issue #303 - Visibility not correctly applied after reordering lists.
This commit is contained in:
parent
f5aa8a03e5
commit
514bc0794e
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ public class ReorderTabAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
|
||||||
pinned.pinnedTimelines.get(j).position = j;
|
pinned.pinnedTimelines.get(j).position = j;
|
||||||
}
|
}
|
||||||
notifyItemMoved(fromPosition, toPosition);
|
notifyItemMoved(fromPosition, toPosition);
|
||||||
|
notifyItemChanged(fromPosition);
|
||||||
|
notifyItemChanged(toPosition);
|
||||||
try {
|
try {
|
||||||
new Pinned(context).updatePinned(pinned);
|
new Pinned(context).updatePinned(pinned);
|
||||||
((ReorderTimelinesActivity) context).setChanges(true);
|
((ReorderTimelinesActivity) context).setChanges(true);
|
||||||
|
|
Loading…
Reference in a new issue