From 7d7000357dfc9fbba18cb60b3c4021d8db8351b1 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 25 May 2014 02:40:29 -0700 Subject: Port root->mobile preference shift to the future. --- MobileCydia.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 10f2de8..1873702 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) { -- cgit v1.2.3