mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 03:19:11 +08:00
Dismissable: Increase threshold to 60%
A number of users have complained that they currently land up deleting note accidentally because of the swipe gesture.
This commit is contained in:
@ -37,5 +37,10 @@ class IconDismissable extends Dismissible {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
dismissThresholds: {
|
||||||
|
DismissDirection.horizontal: 0.60,
|
||||||
|
DismissDirection.endToStart: 0.60,
|
||||||
|
DismissDirection.startToEnd: 0.60,
|
||||||
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user