Merge branch '1.14-permissions' of github.com:astubenbord/paperless-mobile into 1.14-permissions

This commit is contained in:
Anton Stubenbord
2023-05-12 00:16:42 +02:00

View File

@@ -147,8 +147,9 @@ class _DocumentsPageState extends State<DocumentsPage> with SingleTickerProvider
onWillPop: () async {
if (context.read<DocumentsCubit>().state.selection.isNotEmpty) {
context.read<DocumentsCubit>().resetSelection();
return false;
}
return false;
return true;
},
child: Stack(
children: [