mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 06:07:57 -06:00
feat: Rework error handling, upgrade dio, fixed bugs
- Fix grey screen bug when adding labels from documnet upload - Add more permission checks to conditionally show widgets
This commit is contained in:
@@ -114,7 +114,7 @@ class EditLabelForm<T extends Label> extends StatelessWidget {
|
||||
if (shouldDelete) {
|
||||
try {
|
||||
onDelete(context, label);
|
||||
} on PaperlessServerException catch (error) {
|
||||
} on PaperlessApiException catch (error) {
|
||||
showErrorMessage(context, error);
|
||||
} catch (error, stackTrace) {
|
||||
log("An error occurred!", error: error, stackTrace: stackTrace);
|
||||
|
||||
Reference in New Issue
Block a user