fix comment crash

This commit is contained in:
rimthekid 2022-05-20 07:34:47 -07:00
parent 13b92d6e40
commit 6d568e28c9

View File

@ -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()
}