mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 02:48:54 +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) {
|
if (_scrollStartPosition == 0) {
|
||||||
// start at top
|
// start at top
|
||||||
_overscrollSum += notification.overscroll;
|
_overscrollSum += notification.overscroll;
|
||||||
if (_overscrollSum < -176) {
|
if (_overscrollSum < -160) {
|
||||||
// and scroll downwards
|
// and scroll downwards
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue