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:
Vishesh Handa
2020-04-06 17:14:50 +02:00
parent 7683064ba1
commit 531eb6f3ae

View File

@ -37,5 +37,10 @@ class IconDismissable extends Dismissible {
),
),
),
dismissThresholds: {
DismissDirection.horizontal: 0.60,
DismissDirection.endToStart: 0.60,
DismissDirection.startToEnd: 0.60,
},
);
}