Merge pull request #4730 from ByteHamster/fix-chapter-play-button-talkback

Fixed talkback description missing on chapters screen
This commit is contained in:
ByteHamster 2020-12-04 09:52:31 +01:00 committed by GitHub
commit 167a51df59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>