Commit a880ced6 authored by Alhaad Gokhale's avatar Alhaad Gokhale

Fix adding child views to container after changes to dart bindings.

@abarth
parent 7ac0ce79
......@@ -127,7 +127,7 @@ class ChildViewConnection {
assert(_viewKey == null);
assert(_viewInfo == null);
_viewKey = _nextViewKey++;
_viewContainer?.addChild(_viewKey, _viewOwner.impl);
_viewContainer?.addChild(_viewKey, _viewOwner);
_viewOwner = null;
assert(!_ViewContainerListenerImpl.instance._connections.containsKey(_viewKey));
_ViewContainerListenerImpl.instance._connections[_viewKey] = this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment