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

im so done, at least stack view works

This commit is contained in:
Burrit0z
2020-05-22 20:08:45 -04:00
parent 80c9a3ed5b
commit b8d14801b6
3 changed files with 19 additions and 8 deletions

View File

@ -9,11 +9,11 @@ NSMutableArray *deviceInstances = [[NSMutableArray alloc] init];
if(self && device!=nil) {
self.device = device;
NSString *deviceName = device.name;
double batteryPercentage = device.percentCharge;
BOOL charging = device.charging;
BOOL LPM = device.batterySaverModeActive;
BOOL charging = MSHookIvar<long long>(device, "_charging");
BOOL LPM = MSHookIvar<BOOL>(device, "_batterySaverModeActive");
UIView *blank;
if(bannerStyle==1) {