mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: def refresh displacement
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -23,7 +23,7 @@ Widget refreshIndicator({
|
|||||||
// The over-scroll distance that moves the indicator to its maximum
|
// The over-scroll distance that moves the indicator to its maximum
|
||||||
// displacement, as a percentage of the scrollable's container extent.
|
// displacement, as a percentage of the scrollable's container extent.
|
||||||
|
|
||||||
double displacement = 40;
|
double displacement = 20;
|
||||||
double kDragContainerExtentPercentage = 0.25;
|
double kDragContainerExtentPercentage = 0.25;
|
||||||
|
|
||||||
// How much the scroll's drag gesture can overshoot the RefreshIndicator's
|
// How much the scroll's drag gesture can overshoot the RefreshIndicator's
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ class GStorage {
|
|||||||
setting.get(SettingBoxKey.refreshDragPercentage, defaultValue: 0.25);
|
setting.get(SettingBoxKey.refreshDragPercentage, defaultValue: 0.25);
|
||||||
|
|
||||||
static double get refreshDisplacement =>
|
static double get refreshDisplacement =>
|
||||||
setting.get(SettingBoxKey.refreshDisplacement, defaultValue: 40.0);
|
setting.get(SettingBoxKey.refreshDisplacement, defaultValue: 20.0);
|
||||||
|
|
||||||
static String get blockUserID {
|
static String get blockUserID {
|
||||||
String blockUserID =
|
String blockUserID =
|
||||||
|
|||||||
Reference in New Issue
Block a user