Fix issue #303 - Visibility not correctly applied after reordering lists.

This commit is contained in:
Thomas 2022-09-08 15:46:19 +02:00
parent f5aa8a03e5
commit 514bc0794e

View file

@ -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);