Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarte Bore committed Nov 27, 2024
1 parent 6ea14aa commit 3efabee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modal_bottom_sheet/lib/src/bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ class ModalBottomSheetState extends State<ModalBottomSheet>
// the height difference between the viewport and the content
final closeProgressThreshold = widget.closeProgressThreshold;

// Interpolate the value intop between 1 and the lower bound
final value = (widget.animationController.value - _lowerBound) / (1 - _lowerBound);

return value < closeProgressThreshold;
Expand Down

0 comments on commit 3efabee

Please sign in to comment.