mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
refactor: explore category
This commit is contained in:
parent
2f0e8e1e24
commit
f16d08ab6d
5 changed files with 44 additions and 32 deletions
|
|
@ -4,20 +4,20 @@ import pkg from "../../package.json";
|
|||
const updateSetting = () => {
|
||||
const parsedSettings = JSON.parse(localStorage.getItem("settings"));
|
||||
const {
|
||||
playlistCategories,
|
||||
showUnavailableSongInGreyStyle,
|
||||
automaticallyCacheSongs,
|
||||
nyancatStyle,
|
||||
showLyricsTranslation,
|
||||
minimizeToTray,
|
||||
enabledPlaylistCategories,
|
||||
} = initLocalStorage.settings;
|
||||
const settings = {
|
||||
playlistCategories,
|
||||
showUnavailableSongInGreyStyle,
|
||||
automaticallyCacheSongs,
|
||||
nyancatStyle,
|
||||
showLyricsTranslation,
|
||||
minimizeToTray,
|
||||
enabledPlaylistCategories,
|
||||
...parsedSettings,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue