mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
Merge pull request #6968 from Bnyro/master
fix: crash when switching to audio player
This commit is contained in:
commit
98ac53193e
@ -259,7 +259,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
|||||||
Player.EVENT_PLAYBACK_STATE_CHANGED,
|
Player.EVENT_PLAYBACK_STATE_CHANGED,
|
||||||
Player.EVENT_IS_PLAYING_CHANGED,
|
Player.EVENT_IS_PLAYING_CHANGED,
|
||||||
Player.EVENT_PLAY_WHEN_READY_CHANGED
|
Player.EVENT_PLAY_WHEN_READY_CHANGED
|
||||||
)
|
) && _binding != null
|
||||||
) {
|
) {
|
||||||
updatePlayPauseButton()
|
updatePlayPauseButton()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user