mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-25 02:18:23 +01:00
Fixed loading more comments even though there are no more comments.
This commit is contained in:
parent
70fcc671d8
commit
3a58964d6c
@ -191,7 +191,6 @@ class ParseComment {
|
||||
commaSeparatedChildren.deleteCharAt(commaSeparatedChildren.length() - 1);
|
||||
parseFailed = false;
|
||||
} catch (JSONException e) {
|
||||
parseMoreCommentBasicInfoListener.onParseMoreCommentBasicInfoFailed();
|
||||
parseFailed = true;
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -494,7 +494,9 @@ public class ViewPostDetailActivity extends AppCompatActivity {
|
||||
mRecyclerView.setAdapter(mAdapter);
|
||||
mCommentCardView.setVisibility(View.VISIBLE);
|
||||
|
||||
if(!mCommaSeparatedChildren.equals("")) {
|
||||
fetchMoreComment();
|
||||
}
|
||||
} else {
|
||||
mNoCommentWrapperLinearLayout.setVisibility(View.VISIBLE);
|
||||
glide.load(R.drawable.no_comment_indicator).into(mNoCommentImageView);
|
||||
|
Loading…
Reference in New Issue
Block a user