Commit 1c1aa59b authored by Alhaad Gokhale's avatar Alhaad Gokhale

Merge pull request #4433 from alhaad/fix_adding_child_view

Fix adding child views to container after changes to dart bindings.
parents 7ac0ce79 a880ced6
......@@ -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