Fix bug with the "show all comments" button

Fix bug where if the "Show all comments" button is pressed, the original comment disappears.
Closes #36
This commit is contained in:
Bazsalanszky 2023-08-04 15:30:20 +02:00
parent a708853199
commit 5c39fddbc6

View File

@ -1924,6 +1924,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
if (mActivity != null && mActivity instanceof ViewPostDetailActivity) {
mIsSingleCommentThreadMode = false;
mSingleCommentId = null;
loadedComments.clear();
notifyItemRemoved(0);
mFragment.changeToNormalThreadMode();
}