From 02f2d862122df19c3a8474e7c3d73554dcf45052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Mon, 27 Feb 2023 19:23:07 +0100 Subject: [PATCH] fix: remove dialog handler from notification service --- src/service-override/notifications.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/service-override/notifications.ts b/src/service-override/notifications.ts index 6e534b03..31fe887b 100644 --- a/src/service-override/notifications.ts +++ b/src/service-override/notifications.ts @@ -7,7 +7,6 @@ import { NotificationService } from 'vs/workbench/services/notification/common/n import { INotificationService } from 'vs/platform/notification/common/notification' import * as dom from 'vs/base/browser/dom' import { registerNotificationCommands } from 'vs/workbench/browser/parts/notifications/notificationsCommands' -import { DialogHandlerContribution } from 'vs/workbench/browser/parts/dialogs/dialog.web.contribution' import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors' import { NotificationsCenter } from 'vs/workbench/browser/parts/notifications/notificationsCenter' import { NotificationsAlerts } from 'vs/workbench/browser/parts/notifications/notificationsAlerts' @@ -31,8 +30,6 @@ function initialize (instantiationService: IInstantiationService) { registerNotificationCommands(notificationsCenter, notificationsToasts, model) notificationsToasts.layout(dom.getClientArea(container)) - - instantiationService.createInstance(DialogHandlerContribution) } export default function getServiceOverride (container?: HTMLElement): IEditorOverrideServices {