]> git.saurik.com Git - cydia.git/commitdiff
Use -[UIColor groupTableViewBackgroundColor] instead of -[UIColor pinStripeColor].
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 19:59:36 +0000 (12:59 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 19:59:36 +0000 (12:59 -0700)
UICaboodle/BrowserView.mm
iPhonePrivate.h

index ff39763790c338ee1a608f4bbd7d5079b1672810..e2dee3b5df8d40d02fe8e0ad109bc50e3ef6ce85 100644 (file)
@@ -1161,7 +1161,7 @@ static Class $UIWebBrowserView;
                             UIColor *uic(nil);
 
                             if (red == 0xc7 && green == 0xce && blue == 0xd5)
-                                uic = [UIColor pinStripeColor];
+                                uic = [UIColor groupTableViewBackgroundColor];
                             else if (alpha != 0)
                                 uic = [UIColor
                                     colorWithRed:(red / 255)
@@ -1178,7 +1178,7 @@ static Class $UIWebBrowserView;
                     }
 
                     if (!colored)
-                        [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
+                        [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
                     break;
                 }
     }
@@ -1355,7 +1355,7 @@ static Class $UIWebBrowserView;
         [[self view] addSubview:scroller_];
 
         [scroller_ setFixedBackgroundPattern:YES];
-        [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
+        [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
 
         [scroller_ setScrollingEnabled:YES];
         [scroller_ setClipsSubviews:YES];
index f9f03a4836766ad95fe1c01c673ac15a0195b83e..de959c9eea529ad0e8ed2ff84c6786bf019e9572 100644 (file)
@@ -89,10 +89,6 @@ typedef enum {
 - (UIView *) view;
 @end
 
-@interface UIColor (Apple)
-+ (UIColor *) pinStripeColor;
-@end
-
 @interface UIControl (Apple)
 - (void) addTarget:(id)target action:(SEL)action forEvents:(NSInteger)events;
 @end