Commit bd9d6fbe authored by Thomas's avatar Thomas
Browse files

- Fix #1334 truncation not applied to quoted posts

parent fbaf0602
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -733,6 +733,10 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
                    statusToDeal.getQuote().getSpanContent(context, remote,
                            new WeakReference<>(holder.binding.quotedMessage.statusContent), null),
                    TextView.BufferType.SPANNABLE);
            if (truncate_toots_size > 0) {
                holder.binding.quotedMessage.statusContent.setMaxLines(truncate_toots_size);
                holder.binding.quotedMessage.statusContent.setEllipsize(TextUtils.TruncateAt.END);
            }
            MastodonHelper.loadPPMastodon(holder.binding.quotedMessage.avatar, statusToDeal.getQuote().account);
            if (statusToDeal.getQuote().account != null) {
                holder.binding.quotedMessage.displayName.setText(