mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Update PlayerFragment.kt
This commit is contained in:
parent
841a4c9cc6
commit
b7c14a2186
@ -406,6 +406,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
binding.commentsToggle.setOnClickListener {
|
binding.commentsToggle.setOnClickListener {
|
||||||
|
if (!this::streams.isInitialized) return@setOnClickListener
|
||||||
// set the max height to not cover the currently playing video
|
// set the max height to not cover the currently playing video
|
||||||
commentsViewModel.handleLink = this::handleLink
|
commentsViewModel.handleLink = this::handleLink
|
||||||
updateMaxSheetHeight()
|
updateMaxSheetHeight()
|
||||||
|
Loading…
Reference in New Issue
Block a user