|
|
|
@ -387,13 +387,13 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder { |
|
|
|
|
Context context = replyInfo.getContext(); |
|
|
|
|
String replyToAccount = status.getInReplyToAccountAcct(); |
|
|
|
|
replyInfo.setText(context.getString(R.string.status_replied_to_format, replyToAccount)); |
|
|
|
|
if (status.getParentVisible() == false) |
|
|
|
|
if (!status.getParentVisible()) { |
|
|
|
|
replyInfo.setPaintFlags(replyInfo.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); |
|
|
|
|
else |
|
|
|
|
replyInfo.setOnClickListener(null); |
|
|
|
|
} else { |
|
|
|
|
replyInfo.setPaintFlags(replyInfo.getPaintFlags() & (~Paint.STRIKE_THRU_TEXT_FLAG)); |
|
|
|
|
|
|
|
|
|
replyInfo.setOnClickListener(v -> listener.onViewReplyTo(getAdapterPosition())); |
|
|
|
|
|
|
|
|
|
replyInfo.setOnClickListener(v -> listener.onViewReplyTo(getAdapterPosition())); |
|
|
|
|
} |
|
|
|
|
replyInfo.setVisibility(View.VISIBLE); |
|
|
|
|
} else { |
|
|
|
|
replyInfo.setVisibility(View.GONE); |
|
|
|
|