]> git.saurik.com Git - cydia.git/commitdiff
The initial page color for packages should be nil.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 11 Jun 2014 23:02:59 +0000 (16:02 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 11 Jun 2014 23:02:59 +0000 (16:02 -0700)
CyteKit/WebViewController.mm
MobileCydia.mm

index d392fe8fc5cb034d94258869938501f84ac8f386..e5b58d67b7f7b127cb627b6d3e506086a27cb54a 100644 (file)
@@ -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;
 
index 7a0817999fffad048e53f5152ccd7de6beb90885..9b7e9cbfab2693ef7dc29698cebb86c5e91be2ae 100644 (file)
@@ -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;