mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
dankbar: make control center widget per-instance not global
fixes #1017
This commit is contained in:
@@ -113,6 +113,12 @@ function migrateToVersion(obj, targetVersion) {
|
||||
settings.configVersion = 2;
|
||||
}
|
||||
|
||||
if (currentVersion < 3) {
|
||||
console.info("Migrating settings from version", currentVersion, "to version 3");
|
||||
console.info("Per-widget controlCenterButton config now supported via widgetData properties");
|
||||
settings.configVersion = 3;
|
||||
}
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user