]> git.saurik.com Git - cydia.git/commitdiff
Cancelling a refresh should not count as an update.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 5 Mar 2011 19:22:10 +0000 (11:22 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:39 +0000 (02:41 -0800)
MobileCydia.mm

index 79ab076e2880ff9621cf6fa9d5787b2f25fae024..1b5e4a1bdd9d611c0cf22831874825d87f9c3e49 100644 (file)
@@ -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 {