Merge pull request #94 from grabbou/patch-2

Hotfix semicolon
This commit is contained in:
Johannes Lumpe 2016-05-19 12:11:39 +03:00
commit 9c08351b26
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ public class RNFSManager extends ReactContextBaseJavaModule {
final Map<String, Object> constants = new HashMap<>();
constants.put(NSDocumentDirectory, 0);
constants.put(NSDocumentDirectoryPath, this.getReactApplicationContext().getFilesDir().getAbsolutePath());
constants.put(NSTemporaryDirectoryPath, null)
constants.put(NSTemporaryDirectoryPath, null);
File externalDirectory = this.getReactApplicationContext().getExternalFilesDir(null);
if (externalDirectory != null) {
constants.put(NSExternalDirectoryPath, externalDirectory.getAbsolutePath());