mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix adding child views to container after changes to dart bindings.
@abarth
This commit is contained in:
parent
7ac0ce7938
commit
a880ced67d
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user