Pārlūkot izejas kodu

Merge pull request #56 from Skn0tt/0.10.9

Fix typo: "Status" instead of "Statu"
Travis Nuttall 6 gadus atpakaļ
vecāks
revīzija
0410466810
No account linked to committer's email address

+ 1
- 1
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java Parādīt failu

@@ -668,7 +668,7 @@ public class RNFetchBlobReq extends BroadcastReceiver implements Runnable {
668 668
                     // #297 handle failed request
669 669
                     int statusCode = c.getInt(c.getColumnIndex(DownloadManager.COLUMN_STATUS));
670 670
                     if(statusCode == DownloadManager.STATUS_FAILED) {
671
-                        this.callback.invoke("Download manager failed to download from  " + this.url + ". Statu Code = " + statusCode, null, null);
671
+                        this.callback.invoke("Download manager failed to download from  " + this.url + ". Status Code = " + statusCode, null, null);
672 672
                         return;
673 673
                     }
674 674
                     String contentUri = c.getString(c.getColumnIndex(DownloadManager.COLUMN_LOCAL_URI));