1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-06 16:26:47 +00:00

before break

This commit is contained in:
Burrit0z
2020-04-28 18:40:27 -04:00
parent 741e736bab
commit 193ebb31f1
2 changed files with 12 additions and 3 deletions

View File

@ -26,6 +26,7 @@ long long lastPercentage;
if(!self.isUpdating) {
self.isUpdating = YES;
self.number = 0;
float y = 0;
BCBatteryDeviceController *bcb = [BCBatteryDeviceController sharedInstance];
NSArray *devices = MSHookIvar<NSArray *>(bcb, "_sortedDevices");
@ -43,7 +44,6 @@ long long lastPercentage;
BOOL charging = MSHookIvar<long long>(device, "_charging");
BOOL LPM = MSHookIvar<BOOL>(device, "_batterySaverModeActive");
float y;
if(charging) {
UIVisualEffectView *blank = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]];