mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: listen on listState if changed
This commit is contained in:
parent
0c8850503f
commit
ea654b602c
@ -193,6 +193,7 @@ class _GridRowsState extends State<_GridRows> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return BlocConsumer<GridBloc, GridState>(
|
||||
listenWhen: (previous, current) => previous.listState != current.listState,
|
||||
listener: (context, state) {
|
||||
state.listState.map(
|
||||
insert: (value) {
|
||||
|
Loading…
Reference in New Issue
Block a user