1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-04 14:36:47 +00:00
This commit is contained in:
Burrit0z
2020-05-22 11:59:39 -04:00
parent f84e7aac38
commit d9b30125f8
3 changed files with 11 additions and 4 deletions

View File

@ -150,7 +150,7 @@ NSMutableArray *deviceInstances = [[NSMutableArray alloc] init];
//NSString *deviceName = MSHookIvar<NSString *>(device, "_name");
for(KAIBatteryCell *cell in deviceInstances) {
if(cell.device == device || [cell.device.accessoryIdentifier isEqualToString:device.accessoryIdentifier]) {
if(cell.device == device || [cell.device.identifier isEqualToString:device.identifier]) {
foundCell = cell;
break;
}