@resolveio/client-lib-core 15.1.14 → 15.1.15

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.
@@ -5457,13 +5457,13 @@ class CoreComponent extends BaseComponent {
5457
5457
  setTimeout(() => {
5458
5458
  this.navbarMainHeight = this.el_navBarMain.nativeElement.children[0].clientHeight;
5459
5459
  }, 5000);
5460
- if (this.isDevice) {
5461
- let firstRedirect = false;
5462
- let lastURL = this._storage.get('lastURL');
5463
- this._services._router.events.subscribe((event) => {
5464
- if (event.url.startsWith('/digital-sign?')) {
5465
- this.isDigitalSignature = true;
5466
- }
5460
+ let firstRedirect = false;
5461
+ let lastURL = this._storage.get('lastURL');
5462
+ this._services._router.events.subscribe((event) => {
5463
+ if (event.url.startsWith('/digital-sign?')) {
5464
+ this.isDigitalSignature = true;
5465
+ }
5466
+ if (this.isDevice) {
5467
5467
  if (lastURL && lastURL !== '/' && !firstRedirect) {
5468
5468
  if (event.url === '' || event.url === '/') {
5469
5469
  this._services._router.navigateByUrl(lastURL);
@@ -5476,8 +5476,8 @@ class CoreComponent extends BaseComponent {
5476
5476
  else if (event.urlAfterRedirects) {
5477
5477
  this._storage.set('lastURL', event.urlAfterRedirects);
5478
5478
  }
5479
- });
5480
- }
5479
+ }
5480
+ });
5481
5481
  if (['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0 && ('standalone' in window.navigator) && window.navigator.standalone) {
5482
5482
  this.showNavigationMenu = true;
5483
5483
  }