Skip to content

Commit 4529c61

Browse files
committed
chore: fix delete card issue
1 parent 3e6c3c9 commit 4529c61

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

frontend/app_flowy/lib/plugins/grid/presentation/widgets/row/row_action_sheet.dart

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:app_flowy/plugins/grid/application/row/row_action_sheet_bloc.dart';
2-
import 'package:app_flowy/workspace/presentation/widgets/dialogs.dart';
32
import 'package:easy_localization/easy_localization.dart';
43
import 'package:app_flowy/generated/locale_keys.g.dart';
54
import 'package:flowy_infra/image.dart';
@@ -151,14 +150,9 @@ extension _RowActionExtension on _RowAction {
151150
.add(const RowActionSheetEvent.duplicateRow());
152151
break;
153152
case _RowAction.delete:
154-
FlowyAlertDialog(
155-
title: LocaleKeys.grid_field_deleteFieldPromptMessage.tr(),
156-
confirm: () {
157-
context
158-
.read<RowActionSheetBloc>()
159-
.add(const RowActionSheetEvent.deleteRow());
160-
},
161-
).show(context);
153+
context
154+
.read<RowActionSheetBloc>()
155+
.add(const RowActionSheetEvent.deleteRow());
162156

163157
break;
164158
}

0 commit comments

Comments
 (0)