mirror of
https://github.com/Burrit0z/kai
synced 2025-07-01 20:16:48 +00:00
bro just async
This commit is contained in:
2
Kai.xm
2
Kai.xm
@ -81,11 +81,13 @@
|
|||||||
isUpdating = YES;
|
isUpdating = YES;
|
||||||
|
|
||||||
//NSLog(@"kai: kai info will update");
|
//NSLog(@"kai: kai info will update");
|
||||||
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
|
|
||||||
[[KAIBattery sharedInstance] updateBattery];
|
[[KAIBattery sharedInstance] updateBattery];
|
||||||
[self KaiUpdate];
|
[self KaiUpdate];
|
||||||
|
|
||||||
isUpdating = NO;
|
isUpdating = NO;
|
||||||
|
});
|
||||||
|
|
||||||
/*isUpdating = YES;
|
/*isUpdating = YES;
|
||||||
[UIView animateWithDuration:0.3 animations:^{
|
[UIView animateWithDuration:0.3 animations:^{
|
||||||
|
Reference in New Issue
Block a user