fix: edit card title not working (#3819)

This commit is contained in:
Richard Shiue 2023-10-28 23:13:27 +08:00 committed by GitHub
parent 8a735799c6
commit 993532a2f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,7 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
startEditingRow: (group, row) {
emit(
state.copyWith(
isEditingRow: true,
editingRow: BoardEditingRow(
group: group,
row: row,
@ -130,7 +131,7 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
false,
);
emit(state.copyWith(isEditingRow: false));
emit(state.copyWith(isEditingRow: false, editingRow: null));
}
},
didReceiveGridUpdate: (DatabasePB grid) {