]> git.saurik.com Git - cydia.git/commitdiff
Increase expiration time of UI state to 60 minutes.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 19 Mar 2011 04:16:15 +0000 (21:16 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 19 Mar 2011 04:16:15 +0000 (21:16 -0700)
MobileCydia.mm

index 853e9b913482ba2ada60fecf8566571bbf8b2d39..2c2734dbf0acb8097407db244653bf4de9ab4867 100644 (file)
@@ -9863,8 +9863,8 @@ _trace();
     NSDate *closed = [Metadata_ objectForKey:@"LastClosed"];
     if (valid && closed != nil) {
         NSTimeInterval interval([closed timeIntervalSinceNow]);
-        // XXX: Is 15 minutes the optimal time here?
-        if (interval <= -(15*60))
+        // XXX: Is 60 minutes the optimal time here?
+        if (interval <= -(60*60))
             valid = NO;
     }