Fixed talkback description missing on chapters screen

This commit is contained in:
ByteHamster 2020-12-03 09:47:34 +01:00
parent 0dcf44f67e
commit 779b1715e8
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ public class ChaptersListAdapter extends RecyclerView.Adapter<ChaptersListAdapte
holder.link.setOnClickListener(v -> IntentUtils.openInBrowser(context, sc.getLink()));
}
holder.secondaryActionIcon.setImageResource(ThemeUtils.getDrawableFromAttr(context, R.attr.av_play));
holder.secondaryActionButton.setContentDescription(context.getString(R.string.play_chapter));
holder.secondaryActionButton.setOnClickListener(v -> {
if (callback != null) {
callback.onPlayChapterButtonClicked(position);

View File

@ -702,6 +702,7 @@
<string name="switch_pages">Switch pages</string>
<string name="position">Position: %1$s</string>
<string name="apply_action">Apply action</string>
<string name="play_chapter">Play chapter</string>
<!-- Feed information screen -->
<string name="authentication_label">Authentication</string>