mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 20:52:06 +00:00
fix upstream merge bug
This commit is contained in:
@ -12,12 +12,13 @@ const migrations = {
|
|||||||
">=1.20.0": (store) => {
|
">=1.20.0": (store) => {
|
||||||
setDefaultPluginOptions(store, "visualizer");
|
setDefaultPluginOptions(store, "visualizer");
|
||||||
|
|
||||||
if (store.get("plugins.notifications.toastStyle") === undefined) {
|
if (store.get("plugins.notifications.toastStyle") === undefined) {
|
||||||
const pluginOptions = store.get("plugins.notifications") || {};
|
const pluginOptions = store.get("plugins.notifications") || {};
|
||||||
store.set("plugins.notifications", {
|
store.set("plugins.notifications", {
|
||||||
...defaults.plugins.notifications,
|
...defaults.plugins.notifications,
|
||||||
...pluginOptions,
|
...pluginOptions,
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
">=1.17.0": (store) => {
|
">=1.17.0": (store) => {
|
||||||
setDefaultPluginOptions(store, "picture-in-picture");
|
setDefaultPluginOptions(store, "picture-in-picture");
|
||||||
|
|||||||
Reference in New Issue
Block a user