Skip to content

Commit

Permalink
dismiss previous notification
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Jan 22, 2025
1 parent 0e6f899 commit 1b6af1b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ class UploadNotificationManager(private val context: Context, viewThemeUtils: Vi
}

fun showConnectionErrorNotification() {
notificationManager.cancel(getId())

notificationBuilder.run {
setContentTitle(context.getString(R.string.file_upload_worker_error_notification_title))
setContentText("")
Expand Down

0 comments on commit 1b6af1b

Please sign in to comment.