From 88b77acedb32a184101f55f2ef7446d3c9969ba7 Mon Sep 17 00:00:00 2001 From: Pavel Ivashkov Date: Tue, 6 Jun 2017 17:42:34 +0300 Subject: [PATCH] Keep in sync with #38 --- source/PTDBeanManager.m | 1 + 1 file changed, 1 insertion(+) diff --git a/source/PTDBeanManager.m b/source/PTDBeanManager.m index 599f0dd..dd86ff8 100644 --- a/source/PTDBeanManager.m +++ b/source/PTDBeanManager.m @@ -65,6 +65,7 @@ -(void)restoreBeans:(NSArray*)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])){