mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 12:04:50 +08:00
13
lib/scripts/navigation_drawer.patch
Normal file
13
lib/scripts/navigation_drawer.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/packages/flutter/lib/src/material/navigation_drawer.dart b/packages/flutter/lib/src/material/navigation_drawer.dart
|
||||||
|
index 8a16764cb0c..6b8545c3781 100644
|
||||||
|
--- a/packages/flutter/lib/src/material/navigation_drawer.dart
|
||||||
|
+++ b/packages/flutter/lib/src/material/navigation_drawer.dart
|
||||||
|
@@ -410,7 +410,7 @@ class _NavigationDestinationBuilder extends StatelessWidget {
|
||||||
|
child: _NavigationDestinationSemantics(
|
||||||
|
child: SizedBox(
|
||||||
|
height: navigationDrawerTheme.tileHeight ?? defaults.tileHeight,
|
||||||
|
- child: inkWell,
|
||||||
|
+ child: Material(type: MaterialType.transparency, child: inkWell),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
@@ -26,6 +26,9 @@ $ImageAnimPatch = "lib/scripts/image_anim.patch"
|
|||||||
|
|
||||||
$LayoutBuilderPatch = "lib/scripts/layout_builder.patch"
|
$LayoutBuilderPatch = "lib/scripts/layout_builder.patch"
|
||||||
|
|
||||||
|
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/2308
|
||||||
|
$NavigationDrawerPatch = "lib/scripts/navigation_drawer.patch"
|
||||||
|
|
||||||
# TODO: remove
|
# TODO: remove
|
||||||
# https://github.com/flutter/flutter/issues/90223
|
# https://github.com/flutter/flutter/issues/90223
|
||||||
$ModalBarrierPatch = "lib/scripts/modal_barrier.patch"
|
$ModalBarrierPatch = "lib/scripts/modal_barrier.patch"
|
||||||
@@ -46,7 +49,7 @@ Set-Location $env:FLUTTER_ROOT
|
|||||||
$picks = @()
|
$picks = @()
|
||||||
$reverts = @()
|
$reverts = @()
|
||||||
$patches = @($ModalBarrierPatch, $TextSelectionPatch, $MouseCursorPatch,
|
$patches = @($ModalBarrierPatch, $TextSelectionPatch, $MouseCursorPatch,
|
||||||
$ImageAnimPatch, $LayoutBuilderPatch)
|
$ImageAnimPatch, $LayoutBuilderPatch, $NavigationDrawerPatch)
|
||||||
|
|
||||||
switch ($platform.ToLower()) {
|
switch ($platform.ToLower()) {
|
||||||
"android" {
|
"android" {
|
||||||
|
|||||||
Reference in New Issue
Block a user