diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 841cf54ec..1e0325944 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -1040,9 +1040,9 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { // start to play the next video playVideo() // close comment bottom sheet for next video - commentsViewModel.commentsSheetDismiss?.invoke() + runCatching { commentsViewModel.commentsSheetDismiss?.invoke() } // kill the chapters bottom sheet - chaptersBottomSheet?.dismiss() + runCatching { chaptersBottomSheet?.dismiss() } chaptersBottomSheet = null }