Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix route shifting when bottom sheet appears

Prateek Sunalfdd233dbfb93
diff --git a/mobile/apps/photos/lib/ui/components/action_sheet_widget.dart b/mobile/apps/photos/lib/ui/components/action_sheet_widget.dart
index 1015c86f34..4e23e91b4f 100644
--- a/mobile/apps/photos/lib/ui/components/action_sheet_widget.dart
+++ b/mobile/apps/photos/lib/ui/components/action_sheet_widget.dart
@@ -25,12 +25,11 @@ Future<ButtonResult?> showActionSheet({
Widget? bodyWidget,
String? body,
String? bodyHighlight,
- bool useRootNavigator = false,
}) {
return showMaterialModalBottomSheet(
backgroundColor: Colors.transparent,
barrierColor: backdropFaintDark,
- useRootNavigator: useRootNavigator,
+ useRootNavigator: true,
context: context,
isDismissible: isDismissible,
enableDrag: enableDrag,