diff options
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 4 |
1 files changed, 2 insertions, 2 deletions
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; |