From 212630885718577265c048ec790413b00091f7e4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 9 Mar 2011 23:37:02 -0800 Subject: [PATCH] The iPad sometimes shows multiple things at once. --- MobileCydia.mm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 324da6e9..ae073233 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 { -- 2.45.2