Skip to content

Commit

Permalink
T10718225: Open an audio node from any location while player is open …
Browse files Browse the repository at this point in the history
…not play new audio
  • Loading branch information
mega-jfe committed Jul 5, 2023
1 parent bf5a065 commit 45756f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iMEGA/AudioPlayer/AudioPlayer/AudioPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ final class AudioPlayer: NSObject {
}

private func configurePlayer() {
isAutoPlayEnabled && !isPaused ? play() : pause()
isAutoPlayEnabled ? play() : pause()

opQueue.cancelAllOperations()
preloadNextTracksMetadata()
Expand Down

0 comments on commit 45756f2

Please sign in to comment.