Skip to content

Commit

Permalink
fix: remove dialog handler from notification service
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Feb 27, 2023
1 parent b99ed39 commit 02f2d86
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/service-override/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 {
Expand Down

0 comments on commit 02f2d86

Please sign in to comment.