mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
Fix a crash when composing
This commit is contained in:
parent
4ebe2a2719
commit
f7fc376482
1 changed files with 1 additions and 1 deletions
|
@ -1381,7 +1381,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
|||
}
|
||||
holder.binding.statusContent.setText(
|
||||
status.getSpanContent(context,
|
||||
new WeakReference<>(holder.binding.statusContent), () -> notifyItemChanged(position)),
|
||||
new WeakReference<>(holder.binding.statusContent), () -> mRecyclerView.post(() -> notifyItemChanged(position))),
|
||||
TextView.BufferType.SPANNABLE);
|
||||
holder.binding.statusContent.setMovementMethod(LongClickLinkMovementMethod.getInstance());
|
||||
MastodonHelper.loadPPMastodon(holder.binding.avatar, status.account);
|
||||
|
|
Loading…
Reference in a new issue