]> git.saurik.com Git - cydia.git/commitdiff
Avoid using hasLoaded in viewWillAppear:.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 27 Feb 2011 06:42:45 +0000 (22:42 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:25 +0000 (02:41 -0800)
MobileCydia.mm

index 8f329ed03c5fe6dca5c85fd4a37a377784d851a0..e9579c422be93d57bd150d5671bf169ff677318b 100644 (file)
@@ -5280,9 +5280,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 }
 
 - (void) viewWillAppear:(BOOL)animated {
-    if (![self hasLoaded])
-        [[[self navigationController] navigationBar] setBarStyle:UIBarStyleBlack];
-
+    [[[self navigationController] navigationBar] setBarStyle:UIBarStyleBlack];
     [super viewWillAppear:animated];
 }