mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-12 14:28:46 -05:00
fix initialization issues in player
This commit is contained in:
+1
-1
@@ -275,7 +275,7 @@ const PlayerContextInitializer = () => {
|
||||
|
||||
case (Event.PlaybackActiveTrackChanged) : {
|
||||
|
||||
if (!isSkipping) {
|
||||
if (initialized && !isSkipping) {
|
||||
const activeTrack = await TrackPlayer.getActiveTrack() as JellifyTrack | undefined;
|
||||
if (activeTrack && !isEqual(activeTrack, nowPlaying)) {
|
||||
setNowPlaying(activeTrack);
|
||||
|
||||
Reference in New Issue
Block a user