summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-26 22:42:45 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:25 -0800
commit14e4ff091b1bf90ec66b209d96d9f225d6630054 (patch)
tree79a3da08471b631cce0968b9b555f461ee2d7555
parentea9587160a42c7b6f91ecdb313be1012568a9489 (diff)
Avoid using hasLoaded in viewWillAppear:.
-rw-r--r--MobileCydia.mm4
1 files changed, 1 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8f329ed..e9579c4 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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];
}