Add option to turn off subtitles (#100)

This commit is contained in:
ThetaDev 2022-03-06 12:28:20 +01:00 committed by GitHub
parent 3af6fc3ce2
commit 8830813474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,8 @@ class PlayerActivity : BasePlayerActivity() {
this, resources.getString(R.string.select_subtile_track),
viewModel.trackSelector, subtitleRenderer
)
trackSelectionDialogBuilder.setShowDisableOption(true)
val trackSelectionDialog = trackSelectionDialogBuilder.build()
trackSelectionDialog.show()
}