diff options
-rw-r--r-- | MobileCydia.mm | 2 | ||||
-rw-r--r-- | iPhonePrivate.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index c4099da..98a99da 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8735,7 +8735,7 @@ static _finline void _setHomePage(Cydia *self) { [window_ addSubview:[container_ view]]; // Show pinstripes while loading data. - [[container_ view] setBackgroundColor:[UIColor performSelector:@selector(pinStripeColor)]]; + [[container_ view] setBackgroundColor:[UIColor pinStripeColor]]; [self performSelector:@selector(loadData) withObject:nil afterDelay:0]; } diff --git a/iPhonePrivate.h b/iPhonePrivate.h index fcdb490..239c3f5 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -204,6 +204,10 @@ 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 |