Skip to content
Prev Previous commit
Next Next commit
fix missing zone injection
  • Loading branch information
edusperoni committed Feb 12, 2020
commit 308dd978cb4b03aed1540e3f673080143ff1e4af
7 changes: 4 additions & 3 deletions nativescript-angular/directives/list-view-comp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {
Component,
ElementRef,
IterableDiffers,
forwardRef
forwardRef,
NgZone
} from "@angular/core";
import { ListView } from "tns-core-modules/ui/list-view";
import { TEMPLATED_ITEMS_COMPONENT, TemplatedItemsComponent } from "./templated-items-comp";
Expand All @@ -25,7 +26,7 @@ export class ListViewComponent extends TemplatedItemsComponent {
protected templatedItemsView: ListView;

constructor(_elementRef: ElementRef,
_iterableDiffers: IterableDiffers) {
super(_elementRef, _iterableDiffers);
_iterableDiffers: IterableDiffers, zone: NgZone) {
super(_elementRef, _iterableDiffers, zone);
}
}