mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix: typo and update package.json version
This commit is contained in:
parent
2ee288b9ba
commit
c7c91bccbc
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue