| Index: samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
|
| diff --git a/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart b/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
|
| index 87c0710af71221fba597e13611af7e1ce532a88f..1f6c56f6b97b43fca3504848a463b971021ad4b5 100644
|
| --- a/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
|
| +++ b/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
|
| @@ -26,9 +26,8 @@ class ConveyorView extends CompositeView {
|
| Timer animationTimer;
|
|
|
| ConveyorView()
|
| - : super('conveyor-view', true),
|
| - animationTimer = null {
|
| - }
|
| + : super('conveyor-view', true),
|
| + animationTimer = null {}
|
|
|
| Element render() {
|
| final result = super.render();
|
| @@ -63,8 +62,9 @@ class ConveyorView extends CompositeView {
|
|
|
| if (animate) {
|
| animationTimer = new Timer(
|
| - new Duration(milliseconds: ((durationSeconds * 1000).toInt())),
|
| - () { _onAnimationEnd(); });
|
| + new Duration(milliseconds: ((durationSeconds * 1000).toInt())), () {
|
| + _onAnimationEnd();
|
| + });
|
| }
|
| // TODO(mattsh), we should set the visibility to hide everything but the
|
| // selected view.
|
|
|