]> git.saurik.com Git - cydia.git/commitdiff
Pinstripes while loading, removed afterwards due to (nonexistant?) performance implic...
authorGrant Paul <chpwn@chpwn.com>
Sun, 7 Nov 2010 03:43:31 +0000 (20:43 -0700)
committerGrant Paul <chpwn@chpwn.com>
Sun, 7 Nov 2010 03:43:31 +0000 (20:43 -0700)
MobileCydia.mm

index 01e6735308aa705d00e74d012633daf5554cfa4d..6999f0aad539e4e063db92029df414afb48a2c26 100644 (file)
@@ -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 {