feat(electron): add minimize to tray option to settings page

This commit is contained in:
qier222 2021-01-29 19:55:02 +08:00
parent 09c54486cc
commit de7d008c0b
8 changed files with 67 additions and 13 deletions

View file

@ -9,6 +9,7 @@ const updateSetting = () => {
automaticallyCacheSongs,
nyancatStyle,
showLyricsTranslation,
minimizeToTray,
} = initLocalStorage.settings;
const settings = {
playlistCategories,
@ -16,6 +17,7 @@ const updateSetting = () => {
automaticallyCacheSongs,
nyancatStyle,
showLyricsTranslation,
minimizeToTray,
...parsedSettings,
};