summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-09 23:37:02 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-09 23:37:02 -0800
commit212630885718577265c048ec790413b00091f7e4 (patch)
tree7850bfceef8dc9a5b0165c14c73cdc2486c9f8cb
parentc5f1a9375ccc353684f738e09c77dc9fde3d80e8 (diff)
The iPad sometimes shows multiple things at once.
-rw-r--r--MobileCydia.mm9
1 files changed, 8 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 324da6e..ae07323 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6927,8 +6927,15 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) reloadData {
[super reloadData];
- if (UIViewController *visible = [self visibleViewController])
+ UIViewController *visible([self visibleViewController]);
+ if (visible != nil)
[visible reloadData];
+
+ // on the iPad, this view controller is ALSO visible. :(
+ if (IsWildcat_)
+ if (UIViewController *top = [self topViewController])
+ if (top != visible)
+ [top reloadData];
}
- (void) unloadData {