mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-28 20:08:22 +01:00
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:
parent
a708853199
commit
5c39fddbc6
@ -1924,6 +1924,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
|
|||||||
if (mActivity != null && mActivity instanceof ViewPostDetailActivity) {
|
if (mActivity != null && mActivity instanceof ViewPostDetailActivity) {
|
||||||
mIsSingleCommentThreadMode = false;
|
mIsSingleCommentThreadMode = false;
|
||||||
mSingleCommentId = null;
|
mSingleCommentId = null;
|
||||||
|
loadedComments.clear();
|
||||||
notifyItemRemoved(0);
|
notifyItemRemoved(0);
|
||||||
mFragment.changeToNormalThreadMode();
|
mFragment.changeToNormalThreadMode();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user