diff options
-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 |