From: Jay Freeman (saurik) Date: Wed, 1 Dec 2010 01:19:20 +0000 (-0800) Subject: Normalized Changed_ = true; placement. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/d0c3e88d16ec5c8111369aa490d1f812d4dd4a0c Normalized Changed_ = true; placement. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 34781f66..069a04a8 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5001,14 +5001,14 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) onSwitch:(id)sender { - NSMutableDictionary *metadata = [Sections_ objectForKey:basic_]; + NSMutableDictionary *metadata([Sections_ objectForKey:basic_]); if (metadata == nil) { metadata = [NSMutableDictionary dictionaryWithCapacity:2]; [Sections_ setObject:metadata forKey:basic_]; } - Changed_ = true; [metadata setObject:[NSNumber numberWithBool:([switch_ isOn] == NO)] forKey:@"Hidden"]; + Changed_ = true; } - (void) setSection:(Section *)section editing:(BOOL)editing { @@ -7560,7 +7560,6 @@ freeing the view controllers on tab change */ nil]; [Metadata_ setObject:Settings_ forKey:@"Settings"]; - Changed_ = true; if (rolling)