Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: number cell update flashes with old content (#7605)
Richard Shiue72d660f1acb3
diff --git a/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/number_cell_bloc.dart b/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/number_cell_bloc.dartindex df159b817b..73b2d2977b 100644--- a/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/number_cell_bloc.dart+++ b/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/number_cell_bloc.dart@@ -47,15 +47,6 @@ class NumberCellBloc extends Bloc<NumberCellEvent, NumberCellState> {if (state.content != text) {emit(state.copyWith(content: text));await cellController.saveCellData(text);-- // If the input content is "abc" that can't parsered as number then the data stored in the backend will be an empty string.- // So for every cell data that will be formatted in the backend.- // It needs to get the formatted data after saving.- add(- NumberCellEvent.didReceiveCellUpdate(- cellController.getCellData(),- ),- );}},);