1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-01 08:36:48 +00:00

progress towards rewrite (code trash rn)

This commit is contained in:
Burrit0z
2020-05-21 21:00:28 -04:00
parent 5aae2efc2e
commit 16f294d77f
6 changed files with 45 additions and 23 deletions

11
Kai.h
View File

@ -112,8 +112,15 @@ static void applyPrefs()
{
preferencesChanged();
//here I remotely refresh the KAIView.
isUpdating = YES;
[[KAIBattery sharedInstance] updateBattery];
[(CSAdjunctListView *)([KAIBattery sharedInstance].superview.superview) KaiUpdate];
isUpdating = NO;
//here I remotely refresh the KAIView.
/*isUpdating = YES;
[UIView animateWithDuration:0.3 animations:^{
[KAIBattery sharedInstance].alpha = 0;
} completion:^(BOOL finished){
@ -124,6 +131,6 @@ static void applyPrefs()
} completion:^(BOOL finished){
isUpdating = NO;
}];
}];
}];*/
}