From 2f452dbe7475d2836939a7ae0ebd1c7ebaa96864 Mon Sep 17 00:00:00 2001 From: qier222 Date: Sat, 28 Jan 2023 12:06:57 +0800 Subject: [PATCH] fix: bugs --- src/utils/Player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/Player.js b/src/utils/Player.js index 41563d6..98ab528 100644 --- a/src/utils/Player.js +++ b/src/utils/Player.js @@ -146,7 +146,7 @@ export default class { } set volume(volume) { this._volume = volume; - this._howler?.volume(volume) + this._howler?.volume(volume); } get list() { return this.shuffle ? this._shuffledList : this._list; @@ -437,7 +437,7 @@ export default class { 'unblock-music', store.state.settings.unmSource, track, - /** @type {import("@unblockneteasemusic/rust-napi").Context} */ ({ + /** @type {import("@unblockneteasemusic/rust-napi").Context} */({ enableFlac: store.state.settings.unmEnableFlac || null, proxyUri: store.state.settings.unmProxyUri || null, searchMode: determineSearchMode(store.state.settings.unmSearchMode),