Skip to content

Commit

Permalink
chore: more horizontal allowance for pull to refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed Sep 26, 2024
1 parent 48149b7 commit cea3a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/base/pull_to_refresh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ mixin PullToRefreshMixin<T extends StatefulWidget> on State<T> implements Ticker

try {
final canDragVertically = dy > 0 && (sc.hasClients && sc.positions.first.pixels <= 0);
final horizontalAllowance = dxabs < 0.8;
final horizontalAllowance = dxabs < 1.2;
_isDraggingVertically = canDragVertically && horizontalAllowance;
} catch (_) {}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: namida
description: A Beautiful and Feature-rich Music Player, With YouTube & Video Support Built in Flutter
publish_to: "none"
version: 4.4.77-beta+240926211
version: 4.4.78-beta+240926211

environment:
sdk: ">=3.4.0 <4.0.0"
Expand Down

0 comments on commit cea3a3b

Please sign in to comment.