mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Reduce scroll to dismiss threshold
This commit is contained in:
parent
566f7baba7
commit
1d73964b4e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue