]> git.saurik.com Git - cydia.git/commitdiff
If we go by the book, sec.s could seem like min.s.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 5 Nov 2014 06:23:32 +0000 (22:23 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 5 Nov 2014 06:23:32 +0000 (22:23 -0800)
MobileCydia.mm

index e491c7345a2cea0ea521a3b384485ba8988330f5..7316a2457b5167f6399717541598218be330808a 100644 (file)
@@ -9760,12 +9760,12 @@ _end
 
     NSTimeInterval interval([closed timeIntervalSinceNow]);
 
-    if (interval <= -(30)) {
+    if (interval <= -(30*60)) {
         [tabbar_ setSelectedIndex:0];
         [[[tabbar_ viewControllers] objectAtIndex:0] popToRootViewControllerAnimated:NO];
     }
 
-    if (interval <= -(15)) {
+    if (interval <= -(15*60)) {
         if (IsReachable("cydia.saurik.com")) {
             [tabbar_ beginUpdate];
             [appcache_ reloadURLWithCache:YES];