From 6c9329eec60c6d8505dacfe235192a62d4900105 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 3 Jun 2022 15:10:57 +0200 Subject: [PATCH] Fix issue #124 - Wrong visibility for boosts --- .../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 328d776d..4f2b1128 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 @@ -799,7 +799,7 @@ public class StatusAdapter extends RecyclerView.Adapter holder.binding.boosterDivider.setVisibility(View.GONE); } //--- BOOST VISIBILITY --- - switch (status.visibility) { + switch (statusToDeal.visibility) { case "public": case "unlisted": holder.binding.actionButtonBoost.setVisibility(View.VISIBLE);