summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/adapter
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2021-11-06 22:53:53 +0100
committerByteHamster <info@bytehamster.com>2021-11-06 22:53:53 +0100
commit176cac660265f28c9fd6f11a7199936bdc04e691 (patch)
tree381b42fbab96901af622c712c0c6e68e17284101 /app/src/main/java/de/danoeh/antennapod/adapter
parent46ba314e4d8ee2ecc44766007efa2cd201b54655 (diff)
downloadAntennaPod-176cac660265f28c9fd6f11a7199936bdc04e691.zip
Fix CoverFragment crashing when showing RemoteMedia
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java
index 2ab96e84d..5ddb6407c 100644
--- a/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java
+++ b/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java
@@ -95,7 +95,7 @@ public class FeedItemlistDescriptionAdapter extends ArrayAdapter<FeedItem> {
holder.preview.setVisibility(View.GONE);
holder.description.setTag(Boolean.FALSE);
} else {
- holder.description.setMaxLines(2000);
+ holder.description.setMaxLines(30);
holder.description.setTag(Boolean.TRUE);
holder.preview.setVisibility(item.getMedia() != null ? View.VISIBLE : View.GONE);