Dont dismiss error or stopped notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
be3fc9f5d4
commit
c4c7773147
|
@ -238,9 +238,8 @@ class FileUploadWorker(
|
|||
if (!isStopped || !result.isCancelled) {
|
||||
uploadsStorageManager.updateDatabaseUploadResult(result, operation)
|
||||
notifyUploadResult(operation, result)
|
||||
notificationManager.dismissWorkerNotifications()
|
||||
}
|
||||
|
||||
notificationManager.dismissWorkerNotifications()
|
||||
}
|
||||
|
||||
@Suppress("ReturnCount")
|
||||
|
|
Loading…
Reference in New Issue