From: Jay Freeman (saurik) Date: Thu, 7 Oct 2010 19:59:36 +0000 (-0700) Subject: Use -[UIColor groupTableViewBackgroundColor] instead of -[UIColor pinStripeColor]. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/aaa0be197591295ad82970b51ceb24cb4dbeee10?ds=inline;hp=-c Use -[UIColor groupTableViewBackgroundColor] instead of -[UIColor pinStripeColor]. --- aaa0be197591295ad82970b51ceb24cb4dbeee10 diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index ff397637..e2dee3b5 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -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]; diff --git a/iPhonePrivate.h b/iPhonePrivate.h index f9f03a48..de959c9e 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -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