]> git.saurik.com Git - safemode-ios.git/blobdiff - MobileSafety.mm
Add safety to the notification bar.
[safemode-ios.git] / MobileSafety.mm
index 3bc5b41354e7ddeb0384ce993e293f796632eb8f..d866387482a7f056c159cd4d780bb617cc111188 100644 (file)
@@ -50,6 +50,8 @@ MSMetaClassHook(UIImage)
 MSClassHook(AAAccountManager)
 MSMetaClassHook(AAAccountManager)
 
+MSClassHook(BBSectionInfo)
+
 MSClassHook(SBAlertItemsController)
 MSClassHook(SBButtonBar)
 MSClassHook(SBIconController)
@@ -247,3 +249,7 @@ MSInstanceMessageHook0(void, SBStatusBarTimeView, tile) {
     _textRect.origin.x = (frame.size.width - size.width) / 2;
     _textRect.origin.y = (frame.size.height - size.height) / 2;
 }
+
+MSInstanceMessageHook0(BOOL, BBSectionInfo, showsInNotificationCenter) {
+    return NO;
+}