]> git.saurik.com Git - cydia.git/commitdiff
Fix iPad pinstripes using private API; it sucks but it's the only way to work around...
authorGrant Paul <chpwn@chpwn.com>
Sun, 12 Dec 2010 00:17:16 +0000 (16:17 -0800)
committerGrant Paul <chpwn@chpwn.com>
Sun, 12 Dec 2010 00:17:16 +0000 (16:17 -0800)
UICaboodle/BrowserView.mm

index f1053f85e65f5c5fa76185f6c4900ca510adb104..2666b5b3752b27910e9dff41d02a6df8b685934e 100644 (file)
@@ -715,7 +715,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
                             UIColor *uic(nil);
 
                             if (red == 0xc7 && green == 0xce && blue == 0xd5)
-                                uic = [UIColor groupTableViewBackgroundColor];
+                                uic = [UIColor pinStripeColor];
                             else if (alpha != 0)
                                 uic = [UIColor
                                     colorWithRed:(red / 255)
@@ -732,7 +732,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
                     }
 
                     if (!colored)
-                        [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
+                        [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
                     break;
                 }
     }
@@ -995,7 +995,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
         }
 
         [scroller_ setFixedBackgroundPattern:YES];
-        [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
+        [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
         [scroller_ setClipsSubviews:YES];
 
         [scroller_ setBounces:YES];