Reduce scroll to dismiss threshold

This commit is contained in:
Ming Ming 2022-01-11 16:33:03 +08:00
parent 566f7baba7
commit 1d73964b4e

View file

@ -370,7 +370,7 @@ class _ViewerState extends State<Viewer>
if (_scrollStartPosition == 0) {
// start at top
_overscrollSum += notification.overscroll;
if (_overscrollSum < -176) {
if (_overscrollSum < -160) {
// and scroll downwards
Navigator.of(context).pop();
}