Update app/src/main/java/com/nextcloud/client/jobs/upload/FileUploadWorker.kt
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com> Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
This commit is contained in:
parent
5b51aed284
commit
1b8f0f95c2
|
@ -254,7 +254,7 @@ class FileUploadWorker(
|
|||
)
|
||||
notificationManager.dismissOldErrorNotification(operation)
|
||||
} else {
|
||||
if (!(isStopped && result.isCancelled)) {
|
||||
if (!isStopped || !result.isCancelled) {
|
||||
uploadsStorageManager.updateDatabaseUploadResult(result, operation)
|
||||
notifyUploadResult(operation, result)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue