Skip to content

Commit

Permalink
Merge pull request #13013 from nextcloud/fix/dismiss_download_notific…
Browse files Browse the repository at this point in the history
…ations

Dismiss notification of successful downloads
  • Loading branch information
AndyScherzinger committed May 23, 2024
2 parents efdc744 + 56beafb commit 66cecd1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ class FileDownloadWorker(

private fun checkDownloadError(result: RemoteOperationResult<*>) {
if (result.isSuccess || downloadError != null) {
notificationManager.dismissNotification()
return
}

Expand Down

0 comments on commit 66cecd1

Please sign in to comment.