From ed7bfd8c89b64f81b1363ba4bc10c45baee048ce Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 28 Feb 2011 18:09:28 -0800 Subject: The HomeController is critical and must always be loaded. --- MobileCydia.mm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MobileCydia.mm') 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 {{{ */ -- cgit v1.2.3