[mob][photos] Fix system back gesture closing the app when triggered after closing a modal

This commit is contained in:
ashilkn
2024-10-16 09:09:07 +05:30
parent c3c8d157e3
commit 0a8d403ea0
20 changed files with 29 additions and 1 deletions

View File

@@ -25,11 +25,12 @@ Future<ButtonResult?> showActionSheet({
Widget? bodyWidget,
String? body,
String? bodyHighlight,
bool useRootNavigator = false,
}) {
return showMaterialModalBottomSheet(
backgroundColor: Colors.transparent,
barrierColor: backdropFaintDark,
useRootNavigator: true,
useRootNavigator: useRootNavigator,
context: context,
isDismissible: isDismissible,
enableDrag: enableDrag,