@@ -41,7 +41,7 @@ import { IWorkbenchEditorService } from 'vs/workbench/services/editor/common/edi
4141import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService' ;
4242import { IMessageService , CloseAction } from 'vs/platform/message/common/message' ;
4343import Severity from 'vs/base/common/severity' ;
44- import { IActivityBarService , ProgressBadge , NumberBadge } from 'vs/workbench/services/activity/common/activityBarService ' ;
44+ import { IActivityService , ProgressBadge , NumberBadge } from 'vs/workbench/services/activity/common/activity ' ;
4545import { IThemeService } from 'vs/platform/theme/common/themeService' ;
4646import { inputForeground , inputBackground , inputBorder } from 'vs/platform/theme/common/colorRegistry' ;
4747import { IConfigurationService } from 'vs/platform/configuration/common/configuration' ;
@@ -399,7 +399,7 @@ export class StatusUpdater implements IWorkbenchContribution {
399399 private badgeHandle : IDisposable ;
400400
401401 constructor (
402- @IActivityBarService private activityBarService : IActivityBarService ,
402+ @IActivityService private activityService : IActivityService ,
403403 @IExtensionsWorkbenchService private extensionsWorkbenchService : IExtensionsWorkbenchService
404404 ) {
405405 extensionsWorkbenchService . onChange ( this . onServiceChange , this , this . disposables ) ;
@@ -414,14 +414,14 @@ export class StatusUpdater implements IWorkbenchContribution {
414414 dispose ( this . badgeHandle ) ;
415415
416416 if ( this . extensionsWorkbenchService . local . some ( e => e . state === ExtensionState . Installing ) ) {
417- this . badgeHandle = this . activityBarService . showActivity ( VIEWLET_ID , new ProgressBadge ( ( ) => localize ( 'extensions' , "Extensions" ) ) , 'extensions-badge progress-badge' ) ;
417+ this . badgeHandle = this . activityService . showActivity ( VIEWLET_ID , new ProgressBadge ( ( ) => localize ( 'extensions' , "Extensions" ) ) , 'extensions-badge progress-badge' ) ;
418418 return ;
419419 }
420420
421421 const outdated = this . extensionsWorkbenchService . local . reduce ( ( r , e ) => r + ( e . outdated ? 1 : 0 ) , 0 ) ;
422422 if ( outdated > 0 ) {
423423 const badge = new NumberBadge ( outdated , n => localize ( 'outdatedExtensions' , '{0} Outdated Extensions' , n ) ) ;
424- this . badgeHandle = this . activityBarService . showActivity ( VIEWLET_ID , badge , 'extensions-badge count-badge' ) ;
424+ this . badgeHandle = this . activityService . showActivity ( VIEWLET_ID , badge , 'extensions-badge count-badge' ) ;
425425 }
426426 }
427427
0 commit comments