瀏覽代碼

library: fix toolbar style

Felix Paul Kühne 11 年之前
父節點
當前提交
4c5a57c31a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Sources/VLCPlaylistViewController.m

+ 2 - 0
Sources/VLCPlaylistViewController.m

@@ -127,6 +127,8 @@
     [_emptyLibraryView.emptyLibraryLongDescriptionLabel sizeToFit];
 
     [self setToolbarItems:@[[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil], [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemTrash target:self action:@selector(deleteMultipleFiles)]]];
+    self.navigationController.toolbar.barStyle = UIBarStyleBlack;
+    self.navigationController.toolbar.tintColor = [UIColor whiteColor];
 
     if (SYSTEM_RUNS_IOS7_OR_LATER)
         [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;