mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-24 06:40:55 +08:00
fix: typo and update package.json version
This commit is contained in:
parent
2ee288b9ba
commit
c7c91bccbc
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "YesPlayMusic",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"private": true,
|
||||
"description": "A third party music application for Netease Music",
|
||||
"author": "hawtim<hawtimzhang@gmail.com>",
|
||||
|
@ -3,14 +3,14 @@ import pkg from "../../package.json";
|
||||
|
||||
const updateSetting = () => {
|
||||
const parsedSettings = JSON.parse(localStorage.getItem("settings"));
|
||||
const setting = {
|
||||
const settings = {
|
||||
playlistCategories: initLocalStorage?.settings?.playlistCategories,
|
||||
showUnavailableSongInGreyStyle:
|
||||
initLocalStorage?.settings?.showUnavailableSongInGreyStyle,
|
||||
...parsedSettings,
|
||||
};
|
||||
|
||||
localStorage.setItem("setting", JSON.stringify(setting));
|
||||
localStorage.setItem("settings", JSON.stringify(settings));
|
||||
};
|
||||
|
||||
const updateData = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user