mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
fix: crash when switching to audio player
This commit is contained in:
parent
1476c12594
commit
bc9033de73
@ -259,7 +259,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
||||
Player.EVENT_PLAYBACK_STATE_CHANGED,
|
||||
Player.EVENT_IS_PLAYING_CHANGED,
|
||||
Player.EVENT_PLAY_WHEN_READY_CHANGED
|
||||
)
|
||||
) && _binding != null
|
||||
) {
|
||||
updatePlayPauseButton()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user