fix: Fixes an issues with the old settings "materialTheme.cache.workbench.accent".
This commit is contained in:
parent
2dd98d0c4a
commit
6c2ce83be8
2 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,10 @@ const OPTIONS: IGenericObject<number> = {
|
|||
}
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
if (vscode.workspace.getConfiguration().has('materialTheme.cache.workbench.accent')) {
|
||||
vscode.workspace.getConfiguration().update('materialTheme.cache.workbench.accent', undefined, true);
|
||||
}
|
||||
|
||||
// registering the command
|
||||
let command = vscode.commands.registerCommand('material.theme.config', () => {
|
||||
// the user is going to choose what aspect of theme to config
|
||||
|
|
|
@ -54,6 +54,11 @@
|
|||
],
|
||||
"configuration": {
|
||||
"properties": {
|
||||
"materialTheme.cache.workbench.accent": {
|
||||
"type": "string",
|
||||
"title": "[DEPRECATED] This is an old property.",
|
||||
"description": "This property is intended only for migrating old settings system to a new one. It will be removed in new versions. Don't use it, use \"materialTheme.cache.workbench.settings\" instead."
|
||||
},
|
||||
"materialTheme.cache.workbench.settings": {
|
||||
"default": {},
|
||||
"type": "object",
|
||||
|
|
Loading…
Reference in a new issue