Commit 4561f9eb authored by Adam Barth's avatar Adam Barth

Remove extra return

parent 0913fb71
...@@ -137,7 +137,6 @@ class Drawer extends StatefulComponent { ...@@ -137,7 +137,6 @@ class Drawer extends StatefulComponent {
void _handleDragEnd(Offset velocity) { void _handleDragEnd(Offset velocity) {
if (velocity.dx.abs() >= _kMinFlingVelocity) { if (velocity.dx.abs() >= _kMinFlingVelocity) {
_performance.fling(velocity: velocity.dx * _kFlingVelocityScale); _performance.fling(velocity: velocity.dx * _kFlingVelocityScale);
return;
} else { } else {
_settle(); _settle();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment