|
@@ -738,8 +738,8 @@ NSMutableDictionary *fileStreams = nil;
|
738
|
738
|
totalSpace = [fileSystemSizeInBytes unsignedLongLongValue];
|
739
|
739
|
totalFreeSpace = [freeFileSystemSizeInBytes unsignedLongLongValue];
|
740
|
740
|
callback(@[[NSNull null], @{
|
741
|
|
- @"free" : [NSNumber numberWithInt:totalFreeSpace],
|
742
|
|
- @"total" : [NSNumber numberWithInt:totalSpace]
|
|
741
|
+ @"free" : [NSString stringWithFormat:@"%d", totalFreeSpace],
|
|
742
|
+ @"total" : [NSString stringWithFormat:@"%d", totalSpace]
|
743
|
743
|
}]);
|
744
|
744
|
} else {
|
745
|
745
|
callback(@[@"failed to get storage usage."]);
|