fix lint
This commit is contained in:
parent
9711f4c4fb
commit
a740d3fc71
1 changed files with 5 additions and 2 deletions
|
@ -145,8 +145,11 @@ class PlayerActivity : BasePlayerActivity() {
|
||||||
binding.playerView.player?.seekTo((it.introEnd * 1000).toLong())
|
binding.playerView.player?.seekTo((it.introEnd * 1000).toLong())
|
||||||
}
|
}
|
||||||
} else if (currentCredit != null) {
|
} else if (currentCredit != null) {
|
||||||
if (binding.playerView.player?.hasNextMediaItem() == true) binding.playerView.player?.seekToNext()
|
if (binding.playerView.player?.hasNextMediaItem() == true) {
|
||||||
else finish()
|
binding.playerView.player?.seekToNext()
|
||||||
|
} else {
|
||||||
|
finish()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue