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 08a17b1b34121d9914dea3ee134ca61b27628cb5..1ab56af03b121975867ee270bf1df6e64973c60d 100644 |
--- a/samples/swarm/swarm_ui_lib/view/CompositeView.dart |
+++ b/samples/swarm/swarm_ui_lib/view/CompositeView.dart |
@@ -62,7 +62,7 @@ class CompositeView extends View { |
} |
void afterRender(Element node) { |
- if (_scrollbar !== null) { |
+ if (_scrollbar != null) { |
_scrollbar.initialize(); |
} |
} |
@@ -70,7 +70,7 @@ class CompositeView extends View { |
View addChild(View view) { |
childViews.add(view); |
// TODO(rnystrom): Container shouldn't be null. Remove this check. |
- if (container !== null) { |
+ if (container != null) { |
container.nodes.add(view.node); |
} |
childViewAdded(view); |
@@ -80,7 +80,7 @@ class CompositeView extends View { |
void removeChild(View view) { |
childViews = childViews.filter(bool _(e) { return view != e; }); |
// TODO(rnystrom): Container shouldn't be null. Remove this check. |
- if (container !== null) { |
+ if (container != null) { |
view.node.remove(); |
} |
} |