diff --git a/src/popup/app/config.js b/src/popup/app/config.js index aa2cd10350..213cbf8c7f 100644 --- a/src/popup/app/config.js +++ b/src/popup/app/config.js @@ -53,7 +53,7 @@ angular .state('privateMode', { url: '/private-mode', controller: 'privateModeController', - template: require('./global/privateMode.html'), + template: require('./global/private-mode.html'), data: { authorize: false }, params: { animation: null } }) diff --git a/src/popup/app/global/main.controller.ts b/src/popup/app/global/main.controller.ts index 4bd4f26b4e..ab33925012 100644 --- a/src/popup/app/global/main.controller.ts +++ b/src/popup/app/global/main.controller.ts @@ -6,7 +6,7 @@ export class MainController implements ng.IController { animation: string; constructor($scope: any, $transitions: any, $state: any, authService: any, toastr: any, - i18nService: any, $analytics: any, utilsService: UtilsService, $window: any) { + i18nService: any, $analytics: any, utilsService: UtilsService, $window: any) { this.animation = ''; this.xsBody = $window.screen.availHeight < 600; this.smBody = !this.xsBody && $window.screen.availHeight <= 800; diff --git a/src/popup/app/global/private-mode.controller.ts b/src/popup/app/global/private-mode.controller.ts index fe7186c398..23a0c60fd2 100644 --- a/src/popup/app/global/private-mode.controller.ts +++ b/src/popup/app/global/private-mode.controller.ts @@ -1,4 +1,4 @@ -export class PrivateModeController implements ng.IController { +export class PrivateModeController implements ng.IController { constructor($scope: any) { $scope.privateModeMessage = chrome.i18n.getMessage('privateModeMessage'); $scope.learnMoreMessage = chrome.i18n.getMessage('learnMore'); diff --git a/src/popup/app/global/privateMode.html b/src/popup/app/global/private-mode.html similarity index 100% rename from src/popup/app/global/privateMode.html rename to src/popup/app/global/private-mode.html diff --git a/src/popup/app/global/tabs.controller.ts b/src/popup/app/global/tabs.controller.ts index 729c569d10..a910240f41 100644 --- a/src/popup/app/global/tabs.controller.ts +++ b/src/popup/app/global/tabs.controller.ts @@ -1,4 +1,4 @@ -export class TabsController implements ng.IController { +export class TabsController implements ng.IController { constructor($scope: any, $state: any, i18nService: any) { $scope.$state = $state; $scope.i18n = i18nService; diff --git a/src/popup/app/settings/about.component.ts b/src/popup/app/settings/about.component.ts index 1d94f70fa9..76c0698d04 100644 --- a/src/popup/app/settings/about.component.ts +++ b/src/popup/app/settings/about.component.ts @@ -1,4 +1,4 @@ -import * as template from './about.component.html'; +import * as template from './about.component.html'; class AboutController { version: string; diff --git a/src/popup/app/settings/credits.component.html b/src/popup/app/settings/credits.component.html index d5ab6f0bc1..9ed29865a5 100644 --- a/src/popup/app/settings/credits.component.html +++ b/src/popup/app/settings/credits.component.html @@ -27,7 +27,7 @@
diff --git a/src/popup/app/settings/credits.component.ts b/src/popup/app/settings/credits.component.ts index 90c83743a6..68e0b48754 100644 --- a/src/popup/app/settings/credits.component.ts +++ b/src/popup/app/settings/credits.component.ts @@ -1,4 +1,4 @@ -import * as template from './credits.component.html'; +import * as template from './credits.component.html'; class CreditsController { i18n: any; diff --git a/src/popup/app/settings/environment.component.ts b/src/popup/app/settings/environment.component.ts index 646a959d1c..f76bcd1356 100644 --- a/src/popup/app/settings/environment.component.ts +++ b/src/popup/app/settings/environment.component.ts @@ -26,15 +26,13 @@ class EnvironmentController { } save() { - this.environmentService - .setUrls({ + this.environmentService.setUrls({ base: this.baseUrl, api: this.apiUrl, identity: this.identityUrl, webVault: this.webVaultUrl, icons: this.iconsUrl, - }) - .then((resUrls: any) => { + }).then((resUrls: any) => { this.$timeout(() => { // re-set urls since service can change them, ex: prefixing https:// this.baseUrl = resUrls.base; diff --git a/src/popup/app/settings/features.component.ts b/src/popup/app/settings/features.component.ts index 697b12da91..37216a3c2d 100644 --- a/src/popup/app/settings/features.component.ts +++ b/src/popup/app/settings/features.component.ts @@ -13,8 +13,8 @@ class FeaturesController { i18n: any; constructor(private i18nService: any, private $analytics: any, private constantsService: any, - private utilsService: UtilsService, private totpService: any, private stateService: StateService, - private $timeout: ng.ITimeoutService) { + private utilsService: UtilsService, private totpService: any, private stateService: StateService, + private $timeout: ng.ITimeoutService) { this.i18n = i18nService; $timeout(() => { @@ -25,22 +25,23 @@ class FeaturesController { } async loadSettings() { - this.enableAutoFillOnPageLoad = await this.utilsService - .getObjFromStorage{{$ctrl.i18n.premiumCurrentMember}}
{{$ctrl.i18n.premiumCurrentMemberThanks}}