mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Fix issue #101 - Spoiler is not used for boosted messages
This commit is contained in:
parent
d0d8974d08
commit
f52191d0d2
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
} else {
|
} else {
|
||||||
holder.binding.containerTrans.setVisibility(View.GONE);
|
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) {
|
if (statusToDeal.content.trim().length() == 0) {
|
||||||
holder.binding.mediaContainer.setVisibility(View.GONE);
|
holder.binding.mediaContainer.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue