From ea654b602c73a830ff776a448053a4e07340f9bf Mon Sep 17 00:00:00 2001 From: appflowy Date: Fri, 15 Apr 2022 22:10:38 +0800 Subject: [PATCH] fix: listen on listState if changed --- .../lib/workspace/presentation/plugins/grid/src/grid_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart index 127a39d024..189027c277 100755 --- a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart +++ b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart @@ -193,6 +193,7 @@ class _GridRowsState extends State<_GridRows> { @override Widget build(BuildContext context) { return BlocConsumer( + listenWhen: (previous, current) => previous.listState != current.listState, listener: (context, state) { state.listState.map( insert: (value) {