mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 10:12:28 -06:00
fix: Adapt to new provider strucutre
This commit is contained in:
@@ -72,5 +72,7 @@ String translateError(BuildContext context, ErrorCode code) {
|
||||
return S.of(context)!.couldNotLoadSuggestions;
|
||||
case ErrorCode.acknowledgeTasksError:
|
||||
return S.of(context)!.couldNotAcknowledgeTasks;
|
||||
case ErrorCode.notAuthorized:
|
||||
return "You do not have the permission to perform this action."; //TODO: INTL
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user