From: Jay Freeman (saurik) Date: Sun, 25 May 2014 09:40:29 +0000 (-0700) Subject: Port root->mobile preference shift to the future. X-Git-Tag: v1.1.10~38 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/7d7000357dfc9fbba18cb60b3c4021d8db8351b1 Port root->mobile preference shift to the future. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 10f2de8c..18737029 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -10047,7 +10047,9 @@ int main(int argc, char *argv[]) { if (Method method = class_getInstanceMethod($WAKWindow, @selector(screenSize))) method_setImplementation(method, (IMP) &$WAKWindow$screenSize); - $CFXPreferencesPropertyListSource = objc_getClass("CFXPreferencesPropertyListSource"); + $CFXPreferencesPropertyListSource = objc_getClass("CFXPreferencesPropertyListSourceSynchronizer"); + if ($CFXPreferencesPropertyListSource == Nil) + $CFXPreferencesPropertyListSource = objc_getClass("CFXPreferencesPropertyListSource"); Method CFXPreferencesPropertyListSource$_backingPlistChangedSinceLastSync(class_getInstanceMethod($CFXPreferencesPropertyListSource, @selector(_backingPlistChangedSinceLastSync))); if (CFXPreferencesPropertyListSource$_backingPlistChangedSinceLastSync != NULL) {