summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-06-11 16:02:59 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-06-11 16:02:59 -0700
commit77259cabd44ffd6578831c9fca3d05e8de4f6761 (patch)
tree5364de9e70310018996950677dcd50c378493ab9
parent8323c1b923775ad0f118c0de2f2a7a0417802c57 (diff)
The initial page color for packages should be nil.
-rw-r--r--CyteKit/WebViewController.mm4
-rw-r--r--MobileCydia.mm4
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;