summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-26 23:39:53 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:25 -0800
commit9dac415b3549213d312f7be3f971c322a3d63a5b (patch)
tree21d296ae819e0fb2611d45a328bb96662b3b7102
parenta70cd4ba4eae0194a14559433b24960672dccf75 (diff)
Standardize [super reloadData] placement.
-rw-r--r--MobileCydia.mm9
1 files changed, 6 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index f3fd9a5..e278ab8 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6169,6 +6169,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (void) reloadData {
+ [super reloadData];
+
package_ = [database_ packageWithName:name_];
[buttons_ removeAllObjects];
@@ -6204,8 +6206,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
target:self
action:@selector(customButtonClicked)
] autorelease];
-
- [super reloadData];
}
- (bool) isLoading {
@@ -7838,8 +7838,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) reloadData {
[self setObject:[search_ text]];
- [super reloadData];
[self resetCursor];
+
+ [super reloadData];
}
- (void) didSelectPackage:(Package *)package {
@@ -8233,6 +8234,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[key_ release];
key_ = [[source_ key] retain];
[self setObject:source_];
+
[[self navigationItem] setTitle:[source_ label]];
[super reloadData];
@@ -8887,6 +8889,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) reloadData {
[super reloadData];
+
[table_ reloadData];
}