mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 11:51:47 +00:00
fix(store): remove duplicated if-statement
This commit is contained in:
@ -32,11 +32,9 @@ const migrations = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
if (lastfmConfig) {
|
scrobblerConfig.enabled = lastfmConfig.enabled;
|
||||||
scrobblerConfig.enabled = lastfmConfig.enabled;
|
scrobblerConfig.scrobblers.lastfm = lastfmConfig;
|
||||||
scrobblerConfig.scrobblers.lastfm = lastfmConfig;
|
store.set('plugins.scrobbler', scrobblerConfig);
|
||||||
store.set('plugins.scrobbler', scrobblerConfig);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'>=3.0.0'(store: Conf<Record<string, unknown>>) {
|
'>=3.0.0'(store: Conf<Record<string, unknown>>) {
|
||||||
|
|||||||
Reference in New Issue
Block a user