1
0
spegling av https://github.com/Burrit0z/kai synced 2025-09-18 18:26:19 +00:00

bro just async

This commit is contained in:
Burrit0z
2020-05-22 15:13:16 -04:00
förälder 218fcc80ea
incheckning 028d4a4846
2 ändrade filer med 3 tillägg och 1 borttagningar

Visa fil

@ -80,7 +80,7 @@ long long lastPercentage;
} else if(!shouldAdd) {
dispatch_async(dispatch_get_main_queue(), ^{
[cell removeFromSuperview];
[cell removeFromSuperview];
});
}
}

2
Kai.xm
Visa fil

@ -81,11 +81,13 @@
isUpdating = YES;
//NSLog(@"kai: kai info will update");
dispatch_async(dispatch_get_main_queue(), ^{
[[KAIBattery sharedInstance] updateBattery];
[self KaiUpdate];
isUpdating = NO;
});
/*isUpdating = YES;
[UIView animateWithDuration:0.3 animations:^{