diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-30 17:19:20 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-12-01 01:46:27 -0800 |
commit | a171abd4ff69aa3d897f4d70e6971606ad36d7c4 (patch) | |
tree | 163a9c12eea1f47484acbb922f44c557cf4bf26f | |
parent | cd95e3901064f7ac343347e5fdc80a173a9426cf (diff) |
Normalized Changed_ = true; placement.
-rw-r--r-- | MobileCydia.mm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 34781f6..069a04a 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) |