Explorar el Código

Fix typo: "Status" instead of "Statu"

Simon Knott hace 6 años
padre
commit
853fed3679
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

+ 1
- 1
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java Ver fichero

@@ -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));