mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: kanban filter mvp (#4935)
* chore: add filter controller in group controller * chore: enable url filter * chore: bump collab rev * chore: fix test * chore: bump collab rev
This commit is contained in:
@ -27,11 +27,11 @@ class MobileDatabaseControls extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return MultiBlocProvider(
|
||||
providers: [
|
||||
BlocProvider<GridFilterMenuBloc>(
|
||||
create: (context) => GridFilterMenuBloc(
|
||||
BlocProvider<DatabaseFilterMenuBloc>(
|
||||
create: (context) => DatabaseFilterMenuBloc(
|
||||
viewId: controller.viewId,
|
||||
fieldController: controller.fieldController,
|
||||
)..add(const GridFilterMenuEvent.initial()),
|
||||
)..add(const DatabaseFilterMenuEvent.initial()),
|
||||
),
|
||||
BlocProvider<SortEditorBloc>(
|
||||
create: (context) => SortEditorBloc(
|
||||
@ -40,7 +40,7 @@ class MobileDatabaseControls extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
],
|
||||
child: BlocListener<GridFilterMenuBloc, GridFilterMenuState>(
|
||||
child: BlocListener<DatabaseFilterMenuBloc, DatabaseFilterMenuState>(
|
||||
listenWhen: (p, c) => p.isVisible != c.isVisible,
|
||||
listener: (context, state) => toggleExtension.toggle(),
|
||||
child: ValueListenableBuilder<bool>(
|
||||
|
Reference in New Issue
Block a user