fix: only show version dialog when there are more than 2 remote sources
This commit is contained in:
parent
1399c77b5d
commit
ebf125c064
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class MovieFragment : Fragment() {
|
|||
binding.itemActions.playButton.isEnabled = false
|
||||
binding.itemActions.playButton.setIconResource(android.R.color.transparent)
|
||||
binding.itemActions.progressPlay.isVisible = true
|
||||
if (viewModel.item.sources.size > 1) {
|
||||
if (viewModel.item.sources.filter { it.type == FindroidSourceType.REMOTE }.size > 1) {
|
||||
val dialog = getVideoVersionDialog(
|
||||
requireContext(), viewModel.item,
|
||||
onItemSelected = {
|
||||
|
|
Loading…
Reference in a new issue