| 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 83b676a37bc45ae3409eb85849a73166fb337b18..016c61d443853f0df9b90cf55c849b8de3ad3e8b 100644
|
| --- a/samples/swarm/swarm_ui_lib/view/CompositeView.dart
|
| +++ b/samples/swarm/swarm_ui_lib/view/CompositeView.dart
|
| @@ -80,7 +80,7 @@ class CompositeView extends View {
|
| }
|
|
|
| void removeChild(View view) {
|
| - childViews = childViews.filter((e) { return view != e; });
|
| + childViews = childViews.where((e) { return view != e; }).toList();
|
| // TODO(rnystrom): Container shouldn't be null. Remove this check.
|
| if (container != null) {
|
| view.node.remove();
|
|
|