fix: typo and update package.json version

master
qier222 4 years ago
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…
Cancel
Save