High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): infer drag intent early (#26344)
Thomas0fa385c465d0
diff --git a/mobile/lib/presentation/widgets/asset_viewer/asset_page.widget.dart b/mobile/lib/presentation/widgets/asset_viewer/asset_page.widget.dartindex 1a7c73f821..3dfc37e2f3 100644--- a/mobile/lib/presentation/widgets/asset_viewer/asset_page.widget.dart+++ b/mobile/lib/presentation/widgets/asset_viewer/asset_page.widget.dart@@ -143,8 +143,8 @@ class _AssetPageState extends ConsumerState<AssetPage> {if (_dragIntent == _DragIntent.none) {_dragIntent = switch ((details.globalPosition - _dragStart!.globalPosition).dy) {- < -kTouchSlop => _DragIntent.scroll,- > kTouchSlop => _DragIntent.dismiss,+ < 0 => _DragIntent.scroll,+ > 0 => _DragIntent.dismiss,_ => _DragIntent.none,};}