summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-18 21:48:32 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-18 21:48:32 -0800
commit4bff334147f72d33d63fd396fb00922969821308 (patch)
tree582817e7c18fde2f4845ae468cc893fad3142d95 /MobileCydia.mm
parentf3e2c0acaed45b8c2793cfb4cd714442e1d026ef (diff)
Don't cause the package view to keep bouncing horribly.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 87c0b6e..25b3a7e 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 {