migratePluginToSetting: Enable New Plugin

This commit is contained in:
thororen1234 2025-11-15 21:28:45 -05:00
parent 452b7a50a0
commit 2b9a173caa
No known key found for this signature in database

View file

@ -235,6 +235,7 @@ export function migratePluginToSetting(newName: string, oldName: string, setting
if (oldPlugin?.enabled) {
newPlugin[settingName] = true;
oldPlugin.enabled = false;
if (!newPlugin?.enabled) newPlugin.enabled = true;
SettingsStore.markAsChanged();
}
}