@@ -15,7 +15,6 @@ import { UserFieldsDialog } from '../dialogs/user-fields/user-fields-dialog';
15
15
import { DisposableCollection , nls } from '@theia/core/lib/common' ;
16
16
import { CurrentSketch } from '../../common/protocol/sketches-service-client-impl' ;
17
17
import type { VerifySketchParams } from './verify-sketch' ;
18
- import { NotificationCenter } from '../notification-center' ;
19
18
20
19
@injectable ( )
21
20
export class UploadSketch extends CoreServiceContribution {
@@ -25,9 +24,6 @@ export class UploadSketch extends CoreServiceContribution {
25
24
@inject ( UserFieldsDialog )
26
25
private readonly userFieldsDialog : UserFieldsDialog ;
27
26
28
- @inject ( NotificationCenter )
29
- private readonly notificationCenter : NotificationCenter ;
30
-
31
27
private boardRequiresUserFields = false ;
32
28
private readonly cachedUserFields : Map < string , BoardUserField [ ] > = new Map ( ) ;
33
29
private readonly menuActionsDisposables = new DisposableCollection ( ) ;
@@ -196,9 +192,6 @@ export class UploadSketch extends CoreServiceContribution {
196
192
this . uploadInProgress = true ;
197
193
this . onDidChangeEmitter . fire ( ) ;
198
194
this . clearVisibleNotification ( ) ;
199
- this . notificationCenter . notifyUploadAttemptInProgress (
200
- this . uploadInProgress
201
- ) ;
202
195
203
196
const verifyOptions =
204
197
await this . commandService . executeCommand < CoreService . Options . Compile > (
@@ -251,9 +244,6 @@ export class UploadSketch extends CoreServiceContribution {
251
244
} finally {
252
245
this . uploadInProgress = false ;
253
246
this . onDidChangeEmitter . fire ( ) ;
254
- this . notificationCenter . notifyUploadAttemptInProgress (
255
- this . uploadInProgress
256
- ) ;
257
247
}
258
248
}
259
249
0 commit comments