From bdca103d53eaea3c77db19c102282778c74564e6 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 5 Mar 2011 05:30:17 -0800 Subject: Standardize _reloadData code ordering. --- MobileCydia.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 37d3d93..e3e85ac 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7497,8 +7497,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { era_ = [database_ era]; NSArray *packages = [database_ packages]; - [sections_ removeAllObjects]; - #if 1 UIProgressHUD *hud([delegate_ addProgressHUD]); [hud setText:UCLocalize("LOADING")]; @@ -7509,6 +7507,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [self _reloadPackages:packages]; #endif + [sections_ removeAllObjects]; + Section *upgradable = [[[Section alloc] initWithName:UCLocalize("AVAILABLE_UPGRADES") localize:NO] autorelease]; Section *ignored = nil; Section *section = nil; -- cgit v1.2.3