fix: bugs

This commit is contained in:
qier222 2021-03-07 23:40:06 +08:00
parent 2cf99fc1e6
commit 0adae696cf
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
3 changed files with 37 additions and 9 deletions

View file

@ -440,9 +440,12 @@ export default class {
this._isPersonalFM = true;
if (!this._enabled) this._enabled = true;
if (this._currentTrack.id !== this._personalFMTrack.id) {
this._replaceCurrentTrack(this._personalFMTrack.id);
this._replaceCurrentTrack(this._personalFMTrack.id).then(() =>
this.playOrPause()
);
} else {
this.playOrPause();
}
this.playOrPause();
}
moveToFMTrash() {
this._isPersonalFM = true;