File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/userDataSync/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo
4646 private readonly badgeDisposable = this . _register ( new MutableDisposable ( ) ) ;
4747 private readonly conflictsWarningDisposable = this . _register ( new MutableDisposable ( ) ) ;
4848 private readonly signInNotificationDisposable = this . _register ( new MutableDisposable ( ) ) ;
49+ private previousAuthStatus : AuthTokenStatus | undefined ;
4950
5051 constructor (
5152 @IUserDataSyncService private readonly userDataSyncService : IUserDataSyncService ,
@@ -86,8 +87,13 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo
8687 this . authTokenContext . set ( status ) ;
8788 if ( status === AuthTokenStatus . SignedIn ) {
8889 this . signInNotificationDisposable . clear ( ) ;
90+
91+ if ( this . previousAuthStatus === AuthTokenStatus . SigningIn ) {
92+ this . notificationService . info ( localize ( 'signedIn' , "Successfully signed in." ) ) ;
93+ }
8994 }
9095 this . updateBadge ( ) ;
96+ this . previousAuthStatus = status ;
9197 }
9298
9399 private onDidChangeSyncStatus ( status : SyncStatus ) {
You can’t perform that action at this time.
0 commit comments