small fix

This commit is contained in:
Thomas 2020-11-07 10:17:45 +01:00
parent 8c958a2563
commit 24c6f79b51
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
binding.peertubeDescriptionMore.setVisibility(View.GONE);
show_more_content = null;
}else{
if( description.getDescription().compareTo(peertube.getDescription()) > 0) {
if( peertube != null && description.getDescription().compareTo(peertube.getDescription()) > 0) {
binding.peertubeDescriptionMore.setVisibility(View.VISIBLE);
show_more_content = description.getDescription();
}else{