mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-07 18:07:44 -06:00
feat: Add statistics card on landing page
This commit is contained in:
@@ -214,6 +214,10 @@ class _InboxPageState extends State<InboxPage>
|
||||
}
|
||||
|
||||
Future<bool> _onItemDismissed(DocumentModel doc) async {
|
||||
if (!context.read<LocalUserAccount>().paperlessUser.canEditDocuments) {
|
||||
showSnackBar(context, S.of(context)!.missingPermissions);
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
final removedTags = await context.read<InboxCubit>().removeFromInbox(doc);
|
||||
showSnackBar(
|
||||
|
||||
Reference in New Issue
Block a user