diff --git a/source/PTDBeanManager.m b/source/PTDBeanManager.m index b82488a..de499b8 100644 --- a/source/PTDBeanManager.m +++ b/source/PTDBeanManager.m @@ -78,6 +78,7 @@ -(void)startScanningForBeans_error:(NSError**)error{ 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 this bean's peripheral is connected and not in our records, another app could have connected to it. if((bean = [[PTDBean alloc] initWithPeripheral:beanPeripheral beanManager:self])){