summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-15 01:58:44 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-15 01:58:44 -0800
commitf274bb0c14b13e0e7bbf65fc5a07f40fcaa482cc (patch)
tree2409eeed52901b417948aea2b2137c42efa28f95 /MobileCydia.mm
parentcaa861bdca0452534fccc101228458f5cc6f41f2 (diff)
Hide custom function_ as an implementation detail.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm9
1 files changed, 3 insertions, 6 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 0485f54..a1c06d7 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6398,6 +6398,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
#if !AlwaysReload
- (void) _customButtonClicked {
+ if (commercial_ && [package_ uninstalled])
+ return [self reloadURLWithCache:NO];
+
size_t count(buttons_.size());
if (count == 0)
return;
@@ -6425,12 +6428,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
}
-- (void) reloadButtonClicked {
- if (commercial_ && function_ == nil && [package_ uninstalled])
- return;
- [self customButtonClicked];
-}
-
- (void) applyLoadingTitle {
// Don't show "Loading" as the title. Ever.
}