mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fixed typo when checking for upload success
This commit is contained in:
parent
59caee38a9
commit
d1f0539bbe
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ public class UploadService extends IntentService {
|
|||
SimpleDateFormat isoFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); // Assuming MW always gives me UTC
|
||||
|
||||
String resultStatus = result.getString("/api/upload/@result");
|
||||
if(!resultStatus.equals("success")) {
|
||||
if(!resultStatus.equals("Success")) {
|
||||
showFailedNotification(contribution);
|
||||
} else {
|
||||
Date dateUploaded = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue