Skip to content

Commit

Permalink
Fixed duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
ddolheguy committed Dec 26, 2019
1 parent 9d3fad7 commit d3edb15
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ios/CBPeripheral+Extensions.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ - (NSDictionary *) serializableAdvertisementData: (NSDictionary *) advertisement
NSLog(@"%@", serviceData);

for (CBUUID *key in [serviceData allKeys]) {
[serviceData setObject:dataToArrayBuffer([serviceData objectForKey:key]) forKey:[key UUIDString]];
if ([serviceData objectForKey:key]) {
[serviceData setObject:dataToArrayBuffer([serviceData objectForKey:key]) forKey:[key UUIDString]];
[serviceData removeObjectForKey:key];
Expand Down

0 comments on commit d3edb15

Please sign in to comment.