diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-05-25 02:40:29 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-05-25 02:40:29 -0700 |
commit | 7d7000357dfc9fbba18cb60b3c4021d8db8351b1 (patch) | |
tree | a4a41b615983bd66bfdf6390486291ef25fce108 /MobileCydia.mm | |
parent | 28d9b32a5ec50a459b03fc06ce95f9a97df0439e (diff) |
Port root->mobile preference shift to the future.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |