Browse Source

mega brain dude

pull/1/head
Burrit0z 4 years ago
parent
commit
79a4b1b2a9
3 changed files with 4 additions and 2 deletions
  1. +1
    -0
      KAIBattery.mm
  2. +1
    -0
      KAIBatteryCell.h
  3. +2
    -2
      KAIBatteryCell.mm

+ 1
- 0
KAIBattery.mm View File

@@ -89,6 +89,7 @@ long long lastPercentage;
//Panik
}
}
[KAIBatteryCell resetArray];

//self.displayingDevices = [[NSMutableArray alloc] init];


+ 1
- 0
KAIBatteryCell.h View File

@@ -37,4 +37,5 @@
-(instancetype)initWithFrame:(CGRect)arg1 device:(BCBatteryDevice *)device;
-(void)updateInfo;
+(instancetype)cellForDeviceIfExists:(BCBatteryDevice *)device frameToCreateNew:(CGRect)arg2;
+(void)resetArray;
@end

+ 2
- 2
KAIBatteryCell.mm View File

@@ -164,8 +164,8 @@ NSMutableArray *deviceInstances = [[NSMutableArray alloc] init];
//return deviceInstances;
}

+(id)array {
return deviceInstances;
+(void)resetArray {
deviceInstances = [[NSMutableArray alloc] init];
}

@end

Loading…
Cancel
Save