mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-04 17:17:48 +08:00
ios bottom sheet patch
related #1906 Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
12
lib/scripts/bottom_sheet_android.patch
Normal file
12
lib/scripts/bottom_sheet_android.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/packages/flutter/lib/src/material/bottom_sheet.dart b/packages/flutter/lib/src/material/bottom_sheet.dart
|
||||
index ec9e4270863..c850912afe1 100644
|
||||
--- a/packages/flutter/lib/src/material/bottom_sheet.dart
|
||||
+++ b/packages/flutter/lib/src/material/bottom_sheet.dart
|
||||
@@ -1412,6 +1412,7 @@ class _BottomSheetGestureDetector extends StatelessWidget {
|
||||
..onStart = onVerticalDragStart
|
||||
..onUpdate = onVerticalDragUpdate
|
||||
..onEnd = onVerticalDragEnd
|
||||
+ ..gestureSettings = MediaQuery.maybeGestureSettingsOf(context)
|
||||
..onlyAcceptDragOnThreshold = true;
|
||||
},
|
||||
),
|
||||
Reference in New Issue
Block a user