| Index: samples/swarm/swarm_ui_lib/view/CompositeView.dart
|
| diff --git a/samples/swarm/swarm_ui_lib/view/CompositeView.dart b/samples/swarm/swarm_ui_lib/view/CompositeView.dart
|
| index ace7eff89bb0dde9038f05323f5e13f26dd88f38..9546f9d3093af5248b882b0fc3ae191fd3bc146c 100644
|
| --- a/samples/swarm/swarm_ui_lib/view/CompositeView.dart
|
| +++ b/samples/swarm/swarm_ui_lib/view/CompositeView.dart
|
| @@ -78,7 +78,7 @@ class CompositeView extends View {
|
| }
|
|
|
| void removeChild(View view) {
|
| - childViews = childViews.where(bool _(e) { return view != e; });
|
| + childViews = childViews.where(bool _(e) { return view != e; }).toList();
|
| // TODO(rnystrom): Container shouldn't be null. Remove this check.
|
| if (container != null) {
|
| view.node.remove();
|
|
|