From: Jay Freeman (saurik) Date: Wed, 23 Feb 2011 11:27:52 +0000 (-0800) Subject: Do not show ProgressController Close if running. X-Git-Tag: v1.1.0%b1~243 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/380d0443f88a39194a5e7b9f91e56eb560637b43 Do not show ProgressController Close if running. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 8c88f5c0..b6a51d54 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4996,7 +4996,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (UIBarButtonItem *) rightButton { - return [[[UIBarButtonItem alloc] + return [[progress_ running] boolValue] ? nil : [[[UIBarButtonItem alloc] initWithTitle:UCLocalize("CLOSE") style:UIBarButtonItemStylePlain target:self