mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 15:15:50 -06:00
Started removing tight coupling
This commit is contained in:
@@ -83,7 +83,7 @@ class _DocumentEditPageState extends State<DocumentEditPage> {
|
||||
});
|
||||
bool wasUpdated = false;
|
||||
try {
|
||||
await getIt<DocumentsCubit>().updateDocument(updatedDocument);
|
||||
await getIt<DocumentsCubit>().update(updatedDocument);
|
||||
showSnackBar(context, S.of(context).documentUpdateErrorMessage);
|
||||
wasUpdated = true;
|
||||
} on ErrorMessage catch (error, stackTrace) {
|
||||
|
||||
Reference in New Issue
Block a user