summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-11-06 20:43:31 -0700
committerGrant Paul <chpwn@chpwn.com>2010-11-06 20:43:31 -0700
commit5ccb47d86911e63766a3904eb7460e370b3c9c3a (patch)
treefa8f9bac137311517e050876bcf8b722c7da7d3a
parent718bf0144e3b70d8d2b7196fc67eb09882dc5b26 (diff)
Pinstripes while loading, removed afterwards due to (nonexistant?) performance implications.
-rw-r--r--MobileCydia.mm6
1 files changed, 6 insertions, 0 deletions
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 {