diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-23 03:27:52 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-23 03:27:52 -0800 |
commit | 380d0443f88a39194a5e7b9f91e56eb560637b43 (patch) | |
tree | 4de563b314b913db7a6d2c970a671f83fe438541 | |
parent | aaae308d66ab0d419e4bed6d795ad08ba3936dba (diff) |
Do not show ProgressController Close if running.
-rw-r--r-- | MobileCydia.mm | 2 |
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 |