From 5cf0092b4f13ea3b1d027458b50b3b54ccdcccf2 Mon Sep 17 00:00:00 2001 From: Map1en_ Date: Mon, 12 Apr 2021 01:16:05 +0800 Subject: [PATCH] fix(player): fix cannot switch next track in personalFM (#536) fix #501 --- src/utils/Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Player.js b/src/utils/Player.js index 98e6dc1..49cb7df 100644 --- a/src/utils/Player.js +++ b/src/utils/Player.js @@ -342,7 +342,7 @@ export default class { } } _nextTrackCallback() { - if (this.repeatMode === "one") { + if (!this.isPersonalFM && this.repeatMode === "one") { this._replaceCurrentTrack(this._currentTrack.id); } else { this.playNextTrack();