diff --git a/lib/ui/components/action_sheet_widget.dart b/lib/ui/components/action_sheet_widget.dart index af282e62c..6688b4862 100644 --- a/lib/ui/components/action_sheet_widget.dart +++ b/lib/ui/components/action_sheet_widget.dart @@ -14,34 +14,7 @@ enum ActionSheetType { iconOnly, } -Future showCommonActionSheet({ - required BuildContext context, - required List buttons, - required ActionSheetType actionSheetType, - bool isCheckIconGreen = false, - String? title, - String? body, -}) { - return showMaterialModalBottomSheet( - backgroundColor: Colors.transparent, - barrierColor: backdropFaintDark, - useRootNavigator: true, - context: context, - builder: (_) { - return ActionSheetWidget( - title: title, - body: body, - actionButtons: buttons, - actionSheetType: actionSheetType, - isCheckIconGreen: isCheckIconGreen, - ); - }, - isDismissible: false, - enableDrag: false, - ); -} - -///Returns null if dismissed by tapping outside +///Returns null if dismissed Future showActionSheet({ required BuildContext context, required List buttons, @@ -64,7 +37,6 @@ Future showActionSheet({ isCheckIconGreen: isCheckIconGreen, ); }, - enableDrag: false, ); }