Skip to content

Commit

Permalink
crash fix when click on empty comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyaksh1610 committed Feb 10, 2023
1 parent 8a62c21 commit f1df900
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void updateFromItem(final InfoItem infoItem,
}

itemView.setOnClickListener(view -> {
if (!itemContentView.getText().toString().isEmpty()) {
if (itemContentView.getText() != null) {
toggleEllipsize();
}
if (itemBuilder.getOnCommentsSelectedListener() != null) {
Expand Down

0 comments on commit f1df900

Please sign in to comment.