]> git.saurik.com Git - cydia.git/commitdiff
Fix lazy loading of PackageController, dependent on lazy laoding of BrowserController.'
authorGrant Paul <chpwn@chpwn.com>
Mon, 14 Feb 2011 08:40:21 +0000 (00:40 -0800)
committerGrant Paul <chpwn@chpwn.com>
Mon, 14 Feb 2011 08:40:21 +0000 (00:40 -0800)
MobileCydia.mm

index dcc9b15346e54657bc98fa115075cbda3dcd1948..48aa430c8ac62ecdd09a92c4327469b81eb60a10 100644 (file)
@@ -5470,10 +5470,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
     [super dealloc];
 }
 
-- (void) release {
-    [super release];
-}
-
 - (NSURL *) navigationURL {
     return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@", [package_ id]]];
 }
@@ -5566,16 +5562,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 }
 #endif
 
-- (void) viewWillAppear:(BOOL)animated {
-    [super viewWillAppear:animated];
-}
-
 - (id) initWithDatabase:(Database *)database forPackage:(NSString *)name {
     if ((self = [super init]) != nil) {
         database_ = database;
         buttons_ = [[NSMutableArray alloc] initWithCapacity:4];
         name_ = [[NSString alloc] initWithString:name];
-        [self reloadData];
     } return self;
 }