fix follow request list issues

closes #153
This commit is contained in:
sk
2022-12-17 16:35:41 +01:00
committed by LucasGGamerM
parent 020f4a5a1a
commit bc3869b920
2 changed files with 15 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ public class FollowRequestsListFragment extends BaseRecyclerFragment<FollowReque
RecyclerView.Adapter<? extends RecyclerView.ViewHolder> adapter = getBindingAdapter();
if (!rel.requested && !rel.followedBy && adapter != null) {
data.remove(item);
adapter.notifyItemRemoved(getBindingAdapterPosition());
adapter.notifyItemRemoved(getLayoutPosition());
} else {
rebind();
}