mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-05 08:40:12 +08:00
17
lib/scripts/fab.patch
Normal file
17
lib/scripts/fab.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff --git a/packages/flutter/lib/src/material/floating_action_button.dart b/packages/flutter/lib/src/material/floating_action_button.dart
|
||||
index 4b78e44dab9..80ca9c9bfc2 100644
|
||||
--- a/packages/flutter/lib/src/material/floating_action_button.dart
|
||||
+++ b/packages/flutter/lib/src/material/floating_action_button.dart
|
||||
@@ -603,9 +603,9 @@ class FloatingActionButton extends StatelessWidget {
|
||||
result = Tooltip(message: tooltip, child: result);
|
||||
}
|
||||
|
||||
- if (heroTag != null) {
|
||||
- result = Hero(tag: heroTag!, child: result);
|
||||
- }
|
||||
+ // if (heroTag != null) {
|
||||
+ // result = Hero(tag: heroTag!, child: result);
|
||||
+ // }
|
||||
|
||||
return MergeSemantics(child: result);
|
||||
}
|
||||
@@ -31,6 +31,8 @@ $NavigationDrawerPatch = "lib/scripts/navigation_drawer.patch"
|
||||
|
||||
$PopupMenuPatch = "lib/scripts/popup_menu.patch"
|
||||
|
||||
$FABPatch = "lib/scripts/fab.patch"
|
||||
|
||||
# TODO: remove
|
||||
# https://github.com/flutter/flutter/issues/90223
|
||||
$ModalBarrierPatch = "lib/scripts/modal_barrier.patch"
|
||||
@@ -58,7 +60,7 @@ $picks = @()
|
||||
$reverts = @()
|
||||
$patches = @($ModalBarrierPatch, $TextSelectionPatch, $MouseCursorPatch,
|
||||
$ImageAnimPatch, $LayoutBuilderPatch, $NavigationDrawerPatch,
|
||||
$PopupMenuPatch)
|
||||
$PopupMenuPatch, $FABPatch)
|
||||
|
||||
switch ($platform.ToLower()) {
|
||||
"android" {
|
||||
|
||||
Reference in New Issue
Block a user