mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +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.scrobblers.lastfm = lastfmConfig;
|
||||
store.set('plugins.scrobbler', scrobblerConfig);
|
||||
}
|
||||
scrobblerConfig.enabled = lastfmConfig.enabled;
|
||||
scrobblerConfig.scrobblers.lastfm = lastfmConfig;
|
||||
store.set('plugins.scrobbler', scrobblerConfig);
|
||||
}
|
||||
},
|
||||
'>=3.0.0'(store: Conf<Record<string, unknown>>) {
|
||||
|
||||
Reference in New Issue
Block a user