]> git.saurik.com Git - winterboard.git/blobdiff - Settings.mm
Fix UISound theming on iOS 6.1 (maybe 6.0?).
[winterboard.git] / Settings.mm
index ce81f16724aa2f63d58f918ab673bbcdd4e8573c..588fbc52cce263f9abd0708ceae4481107db62be 100644 (file)
@@ -509,7 +509,11 @@ static NSString *_plist;
     system("rm -rf /User/Library/Caches/com.apple.springboard.sharedimagecache");
 
     system("killall -9 lsd");
-    system("killall SpringBoard backboardd");
+
+    if (kCFCoreFoundationVersionNumber > 700) // XXX: iOS 6.x
+        system("killall backboardd");
+    else
+        system("killall SpringBoard");
 }
 
 - (void) cancelChanges {