mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 18:07:50 -06:00
feat: Implement updated receive share logic
This commit is contained in:
@@ -133,7 +133,6 @@ class LocalNotificationService {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
//TODO: INTL
|
||||
Future<void> notifyTaskChanged(Task task) {
|
||||
log("[LocalNotificationService] notifyTaskChanged: ${task.toString()}");
|
||||
@@ -158,7 +157,7 @@ class LocalNotificationService {
|
||||
break;
|
||||
case TaskStatus.failure:
|
||||
title = "Failed to process document";
|
||||
body = "Document ${task.taskFileName} was rejected by the server.";
|
||||
body = task.result ?? 'Rejected by the server.';
|
||||
timestampMillis = task.dateCreated.millisecondsSinceEpoch;
|
||||
break;
|
||||
case TaskStatus.success:
|
||||
|
||||
Reference in New Issue
Block a user