|
|
|
@ -186,6 +186,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder { |
|
|
|
|
contentWarningButton.setVisibility(View.VISIBLE); |
|
|
|
|
contentWarningButton.setChecked(expanded); |
|
|
|
|
contentWarningButton.setOnCheckedChangeListener((buttonView, isChecked) -> { |
|
|
|
|
contentWarningDescription.invalidate(); |
|
|
|
|
if (getAdapterPosition() != RecyclerView.NO_POSITION) { |
|
|
|
|
listener.onExpandedChange(isChecked, getAdapterPosition()); |
|
|
|
|
} |
|
|
|
|