Skip to content

Commit

Permalink
Keep in sync with PunchThrough#38
Browse files Browse the repository at this point in the history
  • Loading branch information
paiv committed Jun 6, 2017
1 parent c391f09 commit 88b77ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/PTDBeanManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ -(void)restoreBeans:(NSArray<NSUUID*>*)identifiers{
PTDBean* bean;
//If this bean is already in out records, pass it back to the delegate as having been discovered!
if((bean = [beanRecords objectForKey:beanPeripheral.identifier])){
bean.lastDiscovered = [NSDate date];
[self __notifyDelegateOfDiscoveredBean:bean error:nil];
}else{
if((bean = [[PTDBean alloc] initWithPeripheral:beanPeripheral beanManager:self])){
Expand Down

0 comments on commit 88b77ac

Please sign in to comment.