Skip to content

Commit 5b4043b

Browse files
authored
fix: SelectOptionCellBloc registeration error (#1948)
1 parent 0dac41b commit 5b4043b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/select_option_cell.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:appflowy/plugins/database_view/application/cell/cell_controller_builder.dart';
2-
import 'package:appflowy/startup/startup.dart';
32
import 'package:appflowy_popover/appflowy_popover.dart';
43
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
54
import 'package:appflowy_backend/protobuf/flowy-database/select_type_option.pb.dart';
@@ -111,7 +110,7 @@ class _MultiSelectCellState extends GridCellState<GridMultiSelectCell> {
111110
void initState() {
112111
final cellController =
113112
widget.cellControllerBuilder.build() as SelectOptionCellController;
114-
_cellBloc = getIt<SelectOptionCellBloc>(param1: cellController)
113+
_cellBloc = SelectOptionCellBloc(cellController: cellController)
115114
..add(const SelectOptionCellEvent.initial());
116115
_popover = PopoverController();
117116
super.initState();

0 commit comments

Comments
 (0)