summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 03:27:52 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-23 03:27:52 -0800
commit380d0443f88a39194a5e7b9f91e56eb560637b43 (patch)
tree4de563b314b913db7a6d2c970a671f83fe438541 /MobileCydia.mm
parentaaae308d66ab0d419e4bed6d795ad08ba3936dba (diff)
Do not show ProgressController Close if running.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8c88f5c..b6a51d5 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