fix(dart/payload): Fix runtime error in hello_world payload app
The hello_world app used to measure Dart payload size was broken by a
change in
7ae23adaff
.
This breakage does not materially affect the size of the generated code,
(before fix: 298819, after fix: 298825), and since it was a runtime
error it was not noticed & not a problem.
Update the app to work again.
Closes #7358
This commit is contained in:
parent
0bb10d6bb6
commit
eeb594c010
|
@ -17,7 +17,7 @@ class GreetingService {
|
|||
@Directive(selector: "[red]")
|
||||
class RedDec {
|
||||
RedDec(ElementRef el, Renderer renderer) {
|
||||
renderer.setElementStyle(el, "color", "red");
|
||||
renderer.setElementStyle(el.nativeElement, "color", "red");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue