Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit c38989a

Browse files
committed
fix(ng-event): don't double digest
1 parent 1f60295 commit c38989a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/directive/ng_events.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class NgEventDirective {
151151
int key = stream.hashCode;
152152
if (!listeners.containsKey(key)) {
153153
listeners[key] = handler;
154-
stream.listen((event) => scope.apply(() {handler({r"$event": event});}));
154+
stream.listen((event) => handler({r"$event": event}));
155155
}
156156
}
157157

0 commit comments

Comments
 (0)