Remove extra return

This commit is contained in:
Adam Barth 2015-09-16 14:28:32 -07:00
parent 0913fb71ba
commit 4561f9eb65

View File

@ -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();
} }