mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-18 15:10:39 +08:00
bug fixed
This commit is contained in:
@@ -103,7 +103,7 @@ completionHandler:(void (^)(NSError *error))completionHandler
|
||||
NSString *toPath = [toDir stringByAppendingPathComponent:to];
|
||||
|
||||
NSError *error = nil;
|
||||
[[NSFileManager defaultManager] moveItemAtPath:fromPath toPath:toPath error:&error];
|
||||
[[NSFileManager defaultManager] copyItemAtPath:fromPath toPath:toPath error:&error];
|
||||
if (error) {
|
||||
if (completionHandler) {
|
||||
completionHandler(error);
|
||||
|
Reference in New Issue
Block a user