From: Jay Freeman (saurik) Date: Thu, 10 Mar 2011 07:37:02 +0000 (-0800) Subject: The iPad sometimes shows multiple things at once. X-Git-Tag: v1.1.0%b4~9 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/212630885718577265c048ec790413b00091f7e4 The iPad sometimes shows multiple things at once. --- 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 {