Fix screen reader not announcing post content in some cases (#1495)
This commit is contained in:
parent
a9440ea2ab
commit
33a78a59a0
|
@ -682,7 +682,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
||||||
String description = context.getString(R.string.description_status,
|
String description = context.getString(R.string.description_status,
|
||||||
status.getUserFullName(),
|
status.getUserFullName(),
|
||||||
getContentWarningDescription(context, status),
|
getContentWarningDescription(context, status),
|
||||||
(!status.isSensitive() || status.isExpanded() ? status.getContent() : ""),
|
(TextUtils.isEmpty(status.getSpoilerText()) || !status.isSensitive() || status.isExpanded() ? status.getContent() : ""),
|
||||||
getCreatedAtDescription(status.getCreatedAt()),
|
getCreatedAtDescription(status.getCreatedAt()),
|
||||||
getReblogDescription(context, status),
|
getReblogDescription(context, status),
|
||||||
status.getNickname(),
|
status.getNickname(),
|
||||||
|
|
Loading…
Reference in New Issue