summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-28 18:09:28 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:30 -0800
commited7bfd8c89b64f81b1363ba4bc10c45baee048ce (patch)
treef59f35debead1ab4e4bdcd3d0ffe4ed47851d8d1 /MobileCydia.mm
parentc31c825dcaf3e45d8854d53fde12ab177a3e87f5 (diff)
The HomeController is critical and must always be loaded.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8049d6c..2f6d8a0 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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 {{{ */