diff --git a/src/vs/workbench/browser/parts/titlebar/menubarControl.ts b/src/vs/workbench/browser/parts/titlebar/menubarControl.ts index 64799902d676c..af4e9070036a5 100644 --- a/src/vs/workbench/browser/parts/titlebar/menubarControl.ts +++ b/src/vs/workbench/browser/parts/titlebar/menubarControl.ts @@ -349,7 +349,7 @@ export abstract class MenubarControl extends Disposable { return; } - const hasBeenNotified = this.storageService.getBoolean('menubar/accessibleMenubarNotified', StorageScope.PROFILE, false); + const hasBeenNotified = this.storageService.getBoolean('menubar/accessibleMenubarNotified', StorageScope.APPLICATION, false); const usingCustomMenubar = getTitleBarStyle(this.configurationService) === 'custom'; if (hasBeenNotified || usingCustomMenubar || !this.accessibilityService.isScreenReaderOptimized()) { @@ -366,7 +366,7 @@ export abstract class MenubarControl extends Disposable { } ]); - this.storageService.store('menubar/accessibleMenubarNotified', true, StorageScope.PROFILE, StorageTarget.USER); + this.storageService.store('menubar/accessibleMenubarNotified', true, StorageScope.APPLICATION, StorageTarget.USER); } } diff --git a/src/vs/workbench/services/assignment/common/assignmentService.ts b/src/vs/workbench/services/assignment/common/assignmentService.ts index 499ee0031eaca..942388eb94758 100644 --- a/src/vs/workbench/services/assignment/common/assignmentService.ts +++ b/src/vs/workbench/services/assignment/common/assignmentService.ts @@ -24,7 +24,7 @@ export interface IWorkbenchAssignmentService extends IAssignmentService { class MementoKeyValueStorage implements IKeyValueStorage { private mementoObj: MementoObject; constructor(private memento: Memento) { - this.mementoObj = memento.getMemento(StorageScope.PROFILE, StorageTarget.MACHINE); + this.mementoObj = memento.getMemento(StorageScope.APPLICATION, StorageTarget.MACHINE); } async getValue(key: string, defaultValue?: T | undefined): Promise {