null or undefined on GA check

This commit is contained in:
Kyle Spearrin 2018-03-27 08:21:26 -04:00
parent bd457a29d5
commit 63ef6e1e5b
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export class OptionsController {
const disableGa = await this.storageService.get<boolean>(
this.constantsService.disableGaKey);
this.disableGa = disableGa || (this.platformUtilsService.isFirefox() && disableGa === undefined);
this.disableGa = disableGa || (this.platformUtilsService.isFirefox() && disableGa == null);
this.disableAddLoginNotification = await this.storageService.get<boolean>(
this.constantsService.disableAddLoginNotificationKey);