Przeglądaj źródła

Search: remove the white separators and use the proper indicator style

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Marc Etcheverry 11 lat temu
rodzic
commit
1b6c2bdb49

+ 2 - 0
Sources/VLCLocalPlexFolderListViewController.m

@@ -97,6 +97,8 @@
     _searchDisplayController.searchResultsDelegate = self;
     if (SYSTEM_RUNS_IOS7_OR_LATER)
         _searchDisplayController.searchBar.searchBarStyle = UIBarStyleBlack;
+    _searchDisplayController.searchResultsTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
+    _searchDisplayController.searchResultsTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
     _searchBar.delegate = self;
     self.tableView.tableHeaderView = _searchBar;
 

+ 2 - 0
Sources/VLCLocalServerFolderListViewController.m

@@ -149,6 +149,8 @@
     _searchDisplayController.delegate = self;
     _searchDisplayController.searchResultsDataSource = self;
     _searchDisplayController.searchResultsDelegate = self;
+    _searchDisplayController.searchResultsTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
+    _searchDisplayController.searchResultsTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
     if (SYSTEM_RUNS_IOS7_OR_LATER)
         _searchDisplayController.searchBar.searchBarStyle = UIBarStyleBlack;
     _searchBar.delegate = self;

+ 2 - 0
Sources/VLCPlaylistViewController.m

@@ -190,6 +190,8 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
         _searchDisplayController.delegate = self;
         _searchDisplayController.searchResultsDataSource = self;
         _searchDisplayController.searchResultsDelegate = self;
+        _searchDisplayController.searchResultsTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
+        _searchDisplayController.searchResultsTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
         _searchBar.delegate = self;
 
         UITapGestureRecognizer *tapTwiceGesture = [[UITapGestureRecognizer alloc] initWithTarget:self  action:@selector(tapTwiceGestureAction:)];