X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/3bd1c2a2a065f381047db7201797be94f19e4c6c..12b59862f7a47c1608644aa8d6e44a3bd0efdf61:/Cydia.mm diff --git a/Cydia.mm b/Cydia.mm index ebab2134..be055333 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -4232,10 +4232,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } #if !AlwaysReload -- (void) _rightButtonClicked { - /*[super _rightButtonClicked]; - return;*/ - +- (void) __rightButtonClicked { int count = [buttons_ count]; _assert(count != 0); @@ -4255,6 +4252,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { ] autorelease]]; } } + +- (void) _rightButtonClicked { + if (commercial_) + [super _rightButtonClicked]; + else + [self __rightButtonClicked]; +} #endif - (id) _rightButtonTitle {