From 77259cabd44ffd6578831c9fca3d05e8de4f6761 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 11 Jun 2014 16:02:59 -0700 Subject: The initial page color for packages should be nil. --- CyteKit/WebViewController.mm | 4 ++-- MobileCydia.mm | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index d392fe8..e5b58d6 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 7a08179..9b7e9cb 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; -- cgit v1.2.3