Commit 4dafd3ea authored by Felix Paul Kühne's avatar Felix Paul Kühne

library: fix status bar color on init

parent 9d0c8e90
...@@ -113,6 +113,9 @@ ...@@ -113,6 +113,9 @@
_emptyLibraryView.emptyLibraryLabel.text = NSLocalizedString(@"EMPTY_LIBRARY", @""); _emptyLibraryView.emptyLibraryLabel.text = NSLocalizedString(@"EMPTY_LIBRARY", @"");
_emptyLibraryView.emptyLibraryLongDescriptionLabel.text = NSLocalizedString(@"EMPTY_LIBRARY_LONG", @""); _emptyLibraryView.emptyLibraryLongDescriptionLabel.text = NSLocalizedString(@"EMPTY_LIBRARY_LONG", @"");
[_emptyLibraryView.emptyLibraryLongDescriptionLabel sizeToFit]; [_emptyLibraryView.emptyLibraryLongDescriptionLabel sizeToFit];
if (SYSTEM_RUNS_IOS7_OR_LATER)
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
} }
- (void)viewWillAppear:(BOOL)animated - (void)viewWillAppear:(BOOL)animated
...@@ -143,9 +146,6 @@ ...@@ -143,9 +146,6 @@
if (_foundMedia.count < 1) if (_foundMedia.count < 1)
[self updateViewContents]; [self updateViewContents];
[[MLMediaLibrary sharedMediaLibrary] performSelector:@selector(libraryDidAppear) withObject:nil afterDelay:1.]; [[MLMediaLibrary sharedMediaLibrary] performSelector:@selector(libraryDidAppear) withObject:nil afterDelay:1.];
if (SYSTEM_RUNS_IOS7_OR_LATER)
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
} }
- (void)viewDidDisappear:(BOOL)animated - (void)viewDidDisappear:(BOOL)animated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment