Skip to content

Commit 6fb163b

Browse files
committed
refactor: customize cell data persistence
1 parent 19da42f commit 6fb163b

File tree

27 files changed

+595
-452
lines changed

27 files changed

+595
-452
lines changed

frontend/app_flowy/lib/startup/deps_resolver.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void _resolveGridDeps(GetIt getIt) {
164164
),
165165
);
166166

167-
getIt.registerFactoryParam<TextCellBloc, GridDefaultCellContext, void>(
167+
getIt.registerFactoryParam<TextCellBloc, GridCellContext, void>(
168168
(context, _) => TextCellBloc(
169169
cellContext: context,
170170
),
@@ -176,19 +176,19 @@ void _resolveGridDeps(GetIt getIt) {
176176
),
177177
);
178178

179-
getIt.registerFactoryParam<NumberCellBloc, GridDefaultCellContext, void>(
179+
getIt.registerFactoryParam<NumberCellBloc, GridCellContext, void>(
180180
(context, _) => NumberCellBloc(
181181
cellContext: context,
182182
),
183183
);
184184

185-
getIt.registerFactoryParam<DateCellBloc, GridDefaultCellContext, void>(
185+
getIt.registerFactoryParam<DateCellBloc, GridDateCellContext, void>(
186186
(context, _) => DateCellBloc(
187187
cellContext: context,
188188
),
189189
);
190190

191-
getIt.registerFactoryParam<CheckboxCellBloc, GridDefaultCellContext, void>(
191+
getIt.registerFactoryParam<CheckboxCellBloc, GridCellContext, void>(
192192
(cellData, _) => CheckboxCellBloc(
193193
service: CellService(),
194194
cellContext: cellData,

0 commit comments

Comments
 (0)