Browse Source

Fix wrong string

Hau Vo 7 years ago
parent
commit
351e4a508c
2 changed files with 2 additions and 2 deletions
  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 View File

41
     retriever.setDataSource(filePath);
41
     retriever.setDataSource(filePath);
42
     Bitmap image = retriever.getFrameAtTime(1000000, MediaMetadataRetriever.OPTION_CLOSEST_SYNC);
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
     try {
46
     try {
47
       File dir = new File(fullPath);
47
       File dir = new File(fullPath);

+ 1
- 1
package.json View File

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