1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-01 13:46:47 +00:00

fix prefs not applying

This commit is contained in:
Burrit0z
2020-05-21 16:09:29 -04:00
parent 62a9aecec1
commit 12f5d2ff5c
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Package: com.burritoz.kai Package: com.burritoz.kai
Name: Kai Name: Kai
Version: 0.1.4~alpha Version: 0.1.5~alpha
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: Show charging banners on your lock screen! Description: Show charging banners on your lock screen!
Maintainer: burrit0z Maintainer: burrit0z

View File

@ -67,7 +67,7 @@ NSBundle *tweakBundle;
} }
-(void)respring:(id)sender { -(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" 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." 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."