mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-06-25 14:40:09 +03:00
Fix: Polls without CWs not viewable
This commit is contained in:
parent
b06fc3e952
commit
786a4bc846
1 changed files with 1 additions and 1 deletions
|
@ -2107,7 +2107,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
adapter.notifyItemChanged(holder.getBindingAdapterPosition());
|
adapter.notifyItemChanged(holder.getBindingAdapterPosition());
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
if (statusToDeal.isExpended) {
|
if (statusToDeal.spoiler_text == null || statusToDeal.spoiler_text.trim().isEmpty() || statusToDeal.isExpended) {
|
||||||
holder.binding.poll.pollContainer.setVisibility(View.VISIBLE);
|
holder.binding.poll.pollContainer.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
holder.binding.poll.pollContainer.setVisibility(View.GONE);
|
holder.binding.poll.pollContainer.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue