Skip to content

Commit cba99ae

Browse files
Fix notification bug commons-app#4547 (commons-app#4570)
1 parent bb3f8f3 commit cba99ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/upload/worker/UploadWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,13 @@ class UploadWorker(var appContext: Context, workerParams: WorkerParameters) :
301301
"WikiDataEdit not required, upload success"
302302
)
303303
saveCompletedContribution(contribution,uploadResult)
304-
showSuccessNotification(contribution)
305304
}else{
306305
Timber.d(
307306
"WikiDataEdit not required, making wikidata edit"
308307
)
309308
makeWikiDataEdit(uploadResult, contribution)
310309
}
310+
showSuccessNotification(contribution)
311311

312312
} else {
313313
Timber.e("Stash Upload failed")

0 commit comments

Comments
 (0)