mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
fix: crash after resuming from locked screen with comments/chapters opened
This commit is contained in:
parent
376681979c
commit
78a9f8aee6
@ -1040,9 +1040,9 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
|||||||
// start to play the next video
|
// start to play the next video
|
||||||
playVideo()
|
playVideo()
|
||||||
// close comment bottom sheet for next video
|
// close comment bottom sheet for next video
|
||||||
commentsViewModel.commentsSheetDismiss?.invoke()
|
runCatching { commentsViewModel.commentsSheetDismiss?.invoke() }
|
||||||
// kill the chapters bottom sheet
|
// kill the chapters bottom sheet
|
||||||
chaptersBottomSheet?.dismiss()
|
runCatching { chaptersBottomSheet?.dismiss() }
|
||||||
chaptersBottomSheet = null
|
chaptersBottomSheet = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user