Remove extra return
This commit is contained in:
parent
0913fb71ba
commit
4561f9eb65
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user