瀏覽代碼

mega brain dude

pull/1/head
Burrit0z 4 年之前
父節點
當前提交
79a4b1b2a9
共有 3 個文件被更改,包括 4 次插入2 次删除
  1. +1
    -0
      KAIBattery.mm
  2. +1
    -0
      KAIBatteryCell.h
  3. +2
    -2
      KAIBatteryCell.mm

+ 1
- 0
KAIBattery.mm 查看文件

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

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


+ 1
- 0
KAIBatteryCell.h 查看文件

@@ -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 查看文件

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

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

@end

Loading…
取消
儲存