Fix issue #124 - Wrong visibility for boosts

This commit is contained in:
Thomas 2022-06-03 15:10:57 +02:00
parent a64244bf11
commit 6c9329eec6

View file

@ -799,7 +799,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
holder.binding.boosterDivider.setVisibility(View.GONE);
}
//--- BOOST VISIBILITY ---
switch (status.visibility) {
switch (statusToDeal.visibility) {
case "public":
case "unlisted":
holder.binding.actionButtonBoost.setVisibility(View.VISIBLE);