]> git.saurik.com Git - cydia.git/commitdiff
Port root->mobile preference shift to the future.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 25 May 2014 09:40:29 +0000 (02:40 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 25 May 2014 09:40:29 +0000 (02:40 -0700)
MobileCydia.mm

index 10f2de8ceef4531f9468055b6849b21a3fec3f68..187370296d11e273bc319e105bba4f9a9351016c 100644 (file)
@@ -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) {