You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detail: localize('first time sync detail',"Synchronising from this device for the first time. Would you like to \nDownload and replace with the data from cloud or \nUpload and replace with the data from this device?")
430
-
}
431
-
);
418
+
constresult=awaitthis.dialogService.confirm({
419
+
type: 'info',
420
+
message: localize('firs time sync',"First time Sync"),
421
+
primaryButton: localize('download',"Download"),
422
+
detail: localize('first time sync detail',"Would you like to download and replace with the data from cloud?"),
423
+
});
432
424
433
-
switch(result.choice){
434
-
case1: returnPromise.reject(canceled());
435
-
case2: returnthis.userDataSyncService.pull();
436
-
// case 3: return this.userDataSyncService.push();
437
-
case3: returnthis.notificationService.info('Upload: Not yet supported');
0 commit comments