fix: Add providers to bulk edit routes

This commit is contained in:
Anton Stubenbord
2023-05-12 13:00:56 +02:00
parent 72f61c7866
commit 2fad76c697
6 changed files with 188 additions and 156 deletions

View File

@@ -107,7 +107,7 @@ class _DocumentsPageState extends State<DocumentsPage> with SingleTickerProvider
},
builder: (context, connectivityState) {
return SafeArea(
top: context.read<DocumentsCubit>().state.selection.isEmpty,
top: context.watch<DocumentsCubit>().state.selection.isEmpty,
child: Scaffold(
drawer: const AppDrawer(),
floatingActionButton: BlocBuilder<DocumentsCubit, DocumentsState>(