summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-05 11:22:10 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:39 -0800
commitaa42c612e74d90a819514080fcda534f08184ab1 (patch)
tree0c3f0769893f928a75a61e0ea4d918fdad2cd1ac
parent4ed3775e6f6977752cb483756b936c5a0851b66b (diff)
Cancelling a refresh should not count as an update.
-rw-r--r--MobileCydia.mm8
1 files 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<DatabaseDelegate> *)delegate {