mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
fix comment crash
This commit is contained in:
parent
13b92d6e40
commit
6d568e28c9
@ -267,7 +267,7 @@ class PlayerFragment : Fragment() {
|
||||
.addOnScrollChangedListener {
|
||||
if (scrollView.getChildAt(0).bottom
|
||||
== (scrollView.height + scrollView.scrollY)
|
||||
) {
|
||||
&& nextPage != null) {
|
||||
fetchNextComments()
|
||||
}
|
||||
}
|
||||
@ -285,7 +285,9 @@ class PlayerFragment : Fragment() {
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
exoPlayer.release()
|
||||
try {
|
||||
exoPlayer.release()
|
||||
}catch (e: Exception){}
|
||||
super.onStop()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user