From aa42c612e74d90a819514080fcda534f08184ab1 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 5 Mar 2011 11:22:10 -0800 Subject: Cancelling a refresh should not count as an update. --- MobileCydia.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 79ab076..1b5e4a1 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3713,13 +3713,13 @@ static NSString *Warning_; bool success(ListUpdate(status, list, PulseInterval_)); if (status.WasCancelled()) _error->Discard(); - else + else { [self popErrorWithTitle:title forOperation:success]; + [Metadata_ setObject:[NSDate date] forKey:@"LastUpdate"]; + Changed_ = true; + } [delegate_ performSelectorOnMainThread:@selector(releaseNetworkActivityIndicator) withObject:nil waitUntilDone:YES]; - - [Metadata_ setObject:[NSDate date] forKey:@"LastUpdate"]; - Changed_ = true; } - (void) setDelegate:(NSObject *)delegate { -- cgit v1.2.3