feat: Implement updated receive share logic

This commit is contained in:
Anton Stubenbord
2023-10-02 23:59:42 +02:00
parent 653344c9ee
commit 37ed8bbb04
47 changed files with 1695 additions and 730 deletions

View File

@@ -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: