]> git.saurik.com Git - cydia.git/commitdiff
The HomeController is critical and must always be loaded.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 1 Mar 2011 02:09:28 +0000 (18:09 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:30 +0000 (02:41 -0800)
MobileCydia.mm

index 8049d6c8889da3506608007d734f2b54ca7b1ab5..2f6d8a05146ba0b825a81f54f174b9a26d926c4d 100644 (file)
@@ -6554,6 +6554,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 - (id) init {
     if ((self = [super init]) != nil) {
         [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/home/", UI_]]];
+        [self reloadData];
     } return self;
 }
 
@@ -6589,6 +6590,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
     ] autorelease]];
 }
 
+- (void) unloadData {
+    [super unloadData];
+    [self reloadData];
+}
+
 @end
 /* }}} */
 /* Manage Controller {{{ */