From: Jay Freeman (saurik) Date: Wed, 11 Jun 2014 23:02:59 +0000 (-0700) Subject: The initial page color for packages should be nil. X-Git-Tag: v1.1.10~10 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/77259cabd44ffd6578831c9fca3d05e8de4f6761 The initial page color for packages should be nil. --- diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index d392fe8f..e5b58d67 100644 --- a/CyteKit/WebViewController.mm +++ b/CyteKit/WebViewController.mm @@ -589,7 +589,7 @@ float CYScrollViewDecelerationRateNormal; } } - [self setPageColor:uic]; + [super setPageColor:uic]; [scroller_ setBackgroundColor:color_]; break; } @@ -873,7 +873,7 @@ float CYScrollViewDecelerationRateNormal; width_ = width; class_ = _class; - [self setPageColor:nil]; + [super setPageColor:nil]; allowsNavigationAction_ = true; diff --git a/MobileCydia.mm b/MobileCydia.mm index 7a081799..9b7e9cbf 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6279,6 +6279,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } #endif +- (void) setPageColor:(UIColor *)color { + return [super setPageColor:nil]; +} + - (id) initWithDatabase:(Database *)database forPackage:(NSString *)name withReferrer:(NSString *)referrer { if ((self = [super init]) != nil) { database_ = database;