mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
"Starting uploads" notification is cleaned up when "Finishing uploads" notification pops up (#4719)
* Dialog can't be dismissed * Dialog can't be dismissed * Cleaned up "starting upload" notification before finishing starts
This commit is contained in:
parent
8c573eda26
commit
674b033d32
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ class UploadWorker(var appContext: Context, workerParams: WorkerParameters) :
|
|||
false
|
||||
)
|
||||
}
|
||||
notificationManager?.cancel(PROCESSING_UPLOADS_NOTIFICATION_TAG, PROCESSING_UPLOADS_NOTIFICATION_ID)
|
||||
notificationManager?.notify(
|
||||
currentNotificationTag,
|
||||
currentNotificationID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue