From 12f5d2ff5cfeb1cb8e85db1d481b4d7f2db4fce3 Mon Sep 17 00:00:00 2001 From: Burrit0z Date: Thu, 21 May 2020 16:09:29 -0400 Subject: [PATCH] fix prefs not applying --- Layout/DEBIAN/control | 2 +- kaiprefs/KAIRootListController.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Layout/DEBIAN/control b/Layout/DEBIAN/control index fd85827..7c388e9 100644 --- a/Layout/DEBIAN/control +++ b/Layout/DEBIAN/control @@ -1,6 +1,6 @@ Package: com.burritoz.kai Name: Kai -Version: 0.1.4~alpha +Version: 0.1.5~alpha Architecture: iphoneos-arm Description: Show charging banners on your lock screen! Maintainer: burrit0z diff --git a/kaiprefs/KAIRootListController.m b/kaiprefs/KAIRootListController.m index e83df18..ba22e37 100644 --- a/kaiprefs/KAIRootListController.m +++ b/kaiprefs/KAIRootListController.m @@ -67,7 +67,7 @@ NSBundle *tweakBundle; } -(void)respring:(id)sender { - CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.burritoz.kaiPrefs/reload"), nil, nil, true); + CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.burritoz.kaiprefs/reload"), nil, nil, true); UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"Kai" message:@"Your settings have been applied. You can now go back to your lockscreen (CoverSheet) to see the changes. \n \n If some of your options did not apply, a respring might be necessary."