From 380d0443f88a39194a5e7b9f91e56eb560637b43 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 23 Feb 2011 03:27:52 -0800 Subject: [PATCH] Do not show ProgressController Close if running. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2