From 5ccb47d86911e63766a3904eb7460e370b3c9c3a Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Sat, 6 Nov 2010 20:43:31 -0700 Subject: Pinstripes while loading, removed afterwards due to (nonexistant?) performance implications. --- MobileCydia.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index 01e6735..6999f0a 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8639,6 +8639,9 @@ static _finline void _setHomePage(Cydia *self) { return; } + // Show pinstripes while loading data. + [[container_ view] setBackgroundColor:[UIColor performSelector:@selector(pinStripeColor)]]; + [self performSelector:@selector(loadData) withObject:nil afterDelay:0]; } @@ -8655,6 +8658,9 @@ static _finline void _setHomePage(Cydia *self) { PrintTimes(); _setHomePage(self); + + // XXX: does this actually slow anything down? + [[container_ view] setBackgroundColor:[UIColor clearColor]]; } - (void) showActionSheet:(UIActionSheet *)sheet fromItem:(UIBarButtonItem *)item { -- cgit v1.2.3