Add option to turn off subtitles (#100)
This commit is contained in:
parent
3af6fc3ce2
commit
8830813474
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ class PlayerActivity : BasePlayerActivity() {
|
||||||
this, resources.getString(R.string.select_subtile_track),
|
this, resources.getString(R.string.select_subtile_track),
|
||||||
viewModel.trackSelector, subtitleRenderer
|
viewModel.trackSelector, subtitleRenderer
|
||||||
)
|
)
|
||||||
|
trackSelectionDialogBuilder.setShowDisableOption(true)
|
||||||
|
|
||||||
val trackSelectionDialog = trackSelectionDialogBuilder.build()
|
val trackSelectionDialog = trackSelectionDialogBuilder.build()
|
||||||
trackSelectionDialog.show()
|
trackSelectionDialog.show()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue