1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

restore isDev check on analytics

This commit is contained in:
Kyle Spearrin 2018-05-30 22:42:13 -04:00
parent 6fab73d8e5
commit 3373de40a8

View File

@ -105,7 +105,7 @@ const authService = new AuthService(cryptoService, apiService,
const exportService = new ExportService(folderService, cipherService); const exportService = new ExportService(folderService, cipherService);
const auditService = new AuditService(cryptoFunctionService); const auditService = new AuditService(cryptoFunctionService);
const analytics = new Analytics(window, () => false, platformUtilsService, storageService, appIdService); const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService);
containerService.attachToWindow(window); containerService.attachToWindow(window);
environmentService.setUrlsFromStorage().then(() => { environmentService.setUrlsFromStorage().then(() => {
return syncService.fullSync(true); return syncService.fullSync(true);