mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-09 05:10:28 +03:00
Fix issue #930 - Crash with Pixelfed
This commit is contained in:
parent
c017558984
commit
147917fc58
1 changed files with 1 additions and 1 deletions
|
@ -1444,7 +1444,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
holder.binding.containerTrans.setVisibility(View.GONE);
|
holder.binding.containerTrans.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
if (statusToDeal.spoiler_text == null || statusToDeal.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 == null || statusToDeal.content.trim().length() == 0) {
|
||||||
holder.binding.mediaContainer.setVisibility(View.GONE);
|
holder.binding.mediaContainer.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
if (!status.mathsShown) {
|
if (!status.mathsShown) {
|
||||||
|
|
Loading…
Reference in a new issue