From 37576c69ce17728edd3c1d00ffc372c8a8b87234 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 14 Nov 2020 15:22:48 +0100 Subject: [PATCH] fixes --- app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java b/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java index 34bb242..94727ee 100644 --- a/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java +++ b/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java @@ -579,7 +579,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd show_more_content = null; } else { if (!PeertubeActivity.this.isFinishing()) { - if (peertube != null && peertube.getDescription() != null && description.getDescription().compareTo(peertube.getDescription()) > 0) { + if (peertube != null && peertube.getDescription() != null && description.getDescription() != null && description.getDescription().compareTo(peertube.getDescription()) > 0) { binding.peertubeDescriptionMore.setVisibility(View.VISIBLE); show_more_content = description.getDescription(); } else {