浏览代码

Fix wrong string

Hau Vo 7 年前
父节点
当前提交
351e4a508c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      android/src/main/java/com/reactlibrary/RNThumbnailModule.java
  2. 1
    1
      package.json

+ 1
- 1
android/src/main/java/com/reactlibrary/RNThumbnailModule.java 查看文件

@@ -41,7 +41,7 @@ public class RNThumbnailModule extends ReactContextBaseJavaModule {
41 41
     retriever.setDataSource(filePath);
42 42
     Bitmap image = retriever.getFrameAtTime(1000000, MediaMetadataRetriever.OPTION_CLOSEST_SYNC);
43 43
 
44
-    String fullPath = Environment.getExternalStorageDirectory().getAbsolutePath() + '/thumb';
44
+    String fullPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/thumb";
45 45
 
46 46
     try {
47 47
       File dir = new File(fullPath);

+ 1
- 1
package.json 查看文件

@@ -1,7 +1,7 @@
1 1
 
2 2
 {
3 3
   "name": "react-native-thumbnail",
4
-  "version": "1.0.5",
4
+  "version": "1.0.6",
5 5
   "description": "",
6 6
   "main": "index.js",
7 7
   "scripts": {