Merge pull request #4730 from ByteHamster/fix-chapter-play-button-talkback
Fixed talkback description missing on chapters screen
This commit is contained in:
commit
167a51df59
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue