From: Jay Freeman (saurik) Date: Fri, 11 Mar 2011 00:35:33 +0000 (-0800) Subject: Do not use [package_ id] to save state as that could be nil. X-Git-Tag: v1.1.0%b5~6 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/8861e9534a4b49b891379f61274249da317ac83d Do not use [package_ id] to save state as that could be nil. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index b6f1d68b..55553282 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7717,7 +7717,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { @implementation PackageSettingsController - (NSURL *) navigationURL { - return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@/settings", [package_ id]]]; + return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@/settings", (id) name_]]; } - (NSInteger) numberOfSectionsInTableView:(UITableView *)tableView {