From: Jay Freeman (saurik) Date: Sat, 5 Mar 2011 19:22:10 +0000 (-0800) Subject: Cancelling a refresh should not count as an update. X-Git-Tag: v1.1.0%b1~53 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/aa42c612e74d90a819514080fcda534f08184ab1 Cancelling a refresh should not count as an update. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 79ab076e..1b5e4a1b 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 {