fix: show global player when paused
This commit is contained in:
parent
e194c6dafd
commit
94464dcdf2
|
@ -68,12 +68,10 @@ const EpisodePlayer = ({
|
|||
}))
|
||||
}
|
||||
} else {
|
||||
if (state.value.playing) {
|
||||
state.set((prev) => ({
|
||||
...prev,
|
||||
isEnabled: true,
|
||||
}))
|
||||
}
|
||||
state.set((prev) => ({
|
||||
...prev,
|
||||
isEnabled: true,
|
||||
}))
|
||||
}
|
||||
})
|
||||
observer.observe(playerContainerRef.current as any)
|
||||
|
|
Loading…
Reference in New Issue