surveysparrow-ionic-plugin 2.0.2-beta.4 → 2.0.2

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.
package/dist/plugin.js CHANGED
@@ -51707,6 +51707,8 @@ Please check that 1) the type for the parameter at index ${index} is correct and
51707
51707
  this.stateService = getSpotcheckStateService();
51708
51708
  this.state = this.stateService.getState();
51709
51709
  this.updateComponentState();
51710
+ }
51711
+ ngOnInit() {
51710
51712
  this.stateSubscription = this.stateService.state$.subscribe((newState) => {
51711
51713
  this.ngZone.run(() => {
51712
51714
  this.state = newState;
@@ -51807,6 +51809,8 @@ Please check that 1) the type for the parameter at index ${index} is correct and
51807
51809
  this.spotcheckStateService = getSpotcheckStateService();
51808
51810
  this.state = this.spotcheckStateService.getState();
51809
51811
  this.updateComponentStyles();
51812
+ }
51813
+ ngOnInit() {
51810
51814
  this.stateSubscription = this.spotcheckStateService.state$.subscribe((newState) => {
51811
51815
  this.ngZone.run(() => {
51812
51816
  this.state = newState;
@@ -51815,8 +51819,6 @@ Please check that 1) the type for the parameter at index ${index} is correct and
51815
51819
  this.cdr.detectChanges();
51816
51820
  });
51817
51821
  });
51818
- }
51819
- ngOnInit() {
51820
51822
  this.initializeComponent();
51821
51823
  }
51822
51824
  ngOnDestroy() {