From 415ff25bf2258a0505795eb3064fcfcede0b458e Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Fri, 11 Aug 2017 22:17:19 +0200 Subject: [PATCH] Adjust to ObjFW changes --- iOS/SiteStorage.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iOS/SiteStorage.m b/iOS/SiteStorage.m index b771869..2c2bade 100644 --- a/iOS/SiteStorage.m +++ b/iOS/SiteStorage.m @@ -57,8 +57,7 @@ static OFNumber *lengthField, *legacyField; @"sites.msgpack"] retain]; @try { - _storage = [[[OFDataArray - dataArrayWithContentsOfFile: _path] + _storage = [[[OFData dataWithContentsOfFile: _path] messagePackValue] mutableCopy]; } @catch (id e) { _storage = [[OFMutableDictionary alloc] init];