From 4bff334147f72d33d63fd396fb00922969821308 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 18 Feb 2011 21:48:32 -0800 Subject: [PATCH] Don't cause the package view to keep bouncing horribly. --- MobileCydia.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 87c0b6e2..25b3a7ed 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5828,12 +5828,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { database_ = database; buttons_ = [[NSMutableArray alloc] initWithCapacity:4]; name_ = [[NSString alloc] initWithString:name]; + [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/package/#!/%@", UI_, name_]]]; } return self; } - (void) reloadData { - [super reloadData]; - if (package_ != nil) [package_ autorelease]; package_ = [database_ packageWithName:name_]; @@ -5876,7 +5875,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { action:@selector(customButtonClicked) ]; - [self loadURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/package/#!/%@", UI_, name_]]]; + [super reloadData]; } - (bool) isLoading { -- 2.45.2