Skip to content

Commit

Permalink
Dismiss notification of successful downloads.
Browse files Browse the repository at this point in the history
Signed-off-by: ZetaTom <[email protected]>
  • Loading branch information
ZetaTom authored and alperozturk96 committed May 21, 2024
1 parent 4ecce01 commit 56beafb
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 56beafb

Please sign in to comment.