diff --git a/Model/ZimFileService/ZimFileService.mm b/Model/ZimFileService/ZimFileService.mm index 978d91912..7ba99f2b2 100644 --- a/Model/ZimFileService/ZimFileService.mm +++ b/Model/ZimFileService/ZimFileService.mm @@ -200,8 +200,7 @@ - (NSDictionary *)getContent:(NSUUID *)zimFileID contentPath:(NSString *)content return @{ @"data": [NSData dataWithBytes: blob.data() length:blob.size()], @"start": [NSNumber numberWithUnsignedLongLong:start], - @"end": [NSNumber numberWithUnsignedLongLong:start + blob.size() - 1], - @"size": [NSNumber numberWithUnsignedLongLong:item.getSize()] + @"end": [NSNumber numberWithUnsignedLongLong:start + blob.size() - 1] }; } catch (std::exception) { return nil;