Fix issue with content warnings not being expanded from a11y delegate (#1167)
This commit is contained in:
parent
9b59a57356
commit
b66582654d
2 changed files with 9 additions and 1 deletions
|
|
@ -124,6 +124,10 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
|||
username.setText(usernameText);
|
||||
}
|
||||
|
||||
public void toggleContentWarning() {
|
||||
contentWarningButton.toggle();
|
||||
}
|
||||
|
||||
protected void setSpoilerAndContent(boolean expanded,
|
||||
@NonNull Spanned content,
|
||||
@Nullable String spoilerText,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue