@osovitny/anatoly 3.19.23 → 3.19.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3450,8 +3450,6 @@ class BrowserService {
|
|
|
3450
3450
|
// Reactive update stream
|
|
3451
3451
|
this._updated = new BehaviorSubject(null);
|
|
3452
3452
|
this.updated$ = this._updated.asObservable();
|
|
3453
|
-
// Cached lowercase UserAgent string
|
|
3454
|
-
this.userAgent = navigator.userAgent.toLowerCase();
|
|
3455
3453
|
this.init();
|
|
3456
3454
|
}
|
|
3457
3455
|
init() {
|
|
@@ -3527,6 +3525,9 @@ class BrowserService {
|
|
|
3527
3525
|
}
|
|
3528
3526
|
return !this.isMobileOrTablet();
|
|
3529
3527
|
}
|
|
3528
|
+
get userAgent() {
|
|
3529
|
+
return navigator.userAgent.toLowerCase();
|
|
3530
|
+
}
|
|
3530
3531
|
static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2.BreakpointObserver)); }; }
|
|
3531
3532
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BrowserService, factory: BrowserService.ɵfac, providedIn: 'root' }); }
|
|
3532
3533
|
}
|