mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: add UnblockNeteaseMusic switch
This commit is contained in:
parent
b47ea5aa1f
commit
7d580e7113
8 changed files with 67 additions and 73 deletions
|
|
@ -3,21 +3,8 @@ import pkg from "../../package.json";
|
|||
|
||||
const updateSetting = () => {
|
||||
const parsedSettings = JSON.parse(localStorage.getItem("settings"));
|
||||
const {
|
||||
showUnavailableSongInGreyStyle,
|
||||
automaticallyCacheSongs,
|
||||
nyancatStyle,
|
||||
showLyricsTranslation,
|
||||
minimizeToTray,
|
||||
enabledPlaylistCategories,
|
||||
} = initLocalStorage.settings;
|
||||
const settings = {
|
||||
showUnavailableSongInGreyStyle,
|
||||
automaticallyCacheSongs,
|
||||
nyancatStyle,
|
||||
showLyricsTranslation,
|
||||
minimizeToTray,
|
||||
enabledPlaylistCategories,
|
||||
...initLocalStorage.settings,
|
||||
...parsedSettings,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue