From f52191d0d2139d8dd2adfc8b0f4617c288a1f788 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 28 May 2022 14:49:17 +0200 Subject: [PATCH] Fix issue #101 - Spoiler is not used for boosted messages --- .../main/java/app/fedilab/android/ui/drawer/StatusAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index 1d6aadd6..9e9f5e54 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -807,7 +807,7 @@ public class StatusAdapter extends RecyclerView.Adapter } else { holder.binding.containerTrans.setVisibility(View.GONE); } - if (status.spoiler_text == null || status.spoiler_text.trim().isEmpty() || statusToDeal.isExpended) { + if (statusToDeal.spoiler_text == null || statusToDeal.spoiler_text.trim().isEmpty() || statusToDeal.isExpended) { if (statusToDeal.content.trim().length() == 0) { holder.binding.mediaContainer.setVisibility(View.GONE); } else {