mod: def refresh displacement

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-12 11:12:57 +08:00
parent f571121b66
commit 130bf36115
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ Widget refreshIndicator({
// The over-scroll distance that moves the indicator to its maximum
// displacement, as a percentage of the scrollable's container extent.
double displacement = 40;
double displacement = 20;
double kDragContainerExtentPercentage = 0.25;
// How much the scroll's drag gesture can overshoot the RefreshIndicator's

View File

@@ -221,7 +221,7 @@ class GStorage {
setting.get(SettingBoxKey.refreshDragPercentage, defaultValue: 0.25);
static double get refreshDisplacement =>
setting.get(SettingBoxKey.refreshDisplacement, defaultValue: 40.0);
setting.get(SettingBoxKey.refreshDisplacement, defaultValue: 20.0);
static String get blockUserID {
String blockUserID =