|
|
|
@ -911,6 +911,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
if (tvPreview.getTag() == null || (int) tvPreview.getTag() != textColor) {
|
|
|
|
if (tvPreview.getTag() == null || (int) tvPreview.getTag() != textColor) {
|
|
|
|
tvPreview.setTag(textColor);
|
|
|
|
tvPreview.setTag(textColor);
|
|
|
|
tvPreview.setTextColor(textColor);
|
|
|
|
tvPreview.setTextColor(textColor);
|
|
|
|
|
|
|
|
if (preview_lines == 1)
|
|
|
|
|
|
|
|
tvPreview.setSingleLine(true);
|
|
|
|
|
|
|
|
else
|
|
|
|
tvPreview.setMaxLines(preview_lines);
|
|
|
|
tvPreview.setMaxLines(preview_lines);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tvPreview.setTypeface(
|
|
|
|
tvPreview.setTypeface(
|
|
|
|
|