summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-11-04 22:23:32 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2014-11-04 22:23:32 -0800
commit6218c58ce1228c98d2fc8da5ff22fb23b01c051b (patch)
treee0da9f4f03fdaa88e02e01e44894be441799bcec /MobileCydia.mm
parentbcc5860752b0e5e5fb86a0bdb2981091a449e0bf (diff)
If we go by the book, sec.s could seem like min.s.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index e491c73..7316a24 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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];