Marino Faggiana 7 жил өмнө
parent
commit
5dec352dd2

+ 2 - 0
iOSClient/Main/CCMain.m

@@ -1861,6 +1861,7 @@
         self.definesPresentationContext = YES;
         self.searchController.searchResultsUpdater = self;
         self.searchController.dimsBackgroundDuringPresentation = NO;
+        self.searchController.searchBar.translucent = NO;
         self.searchController.searchBar.barTintColor = [NCBrandColor sharedInstance].brand;
         [self.searchController.searchBar sizeToFit];
         self.searchController.searchBar.delegate = self;
@@ -1869,6 +1870,7 @@
         // Color Text "Cancel"
         [[UIBarButtonItem appearanceWhenContainedInInstancesOfClasses:@[[UISearchBar class]]] setTintColor:[NCBrandColor sharedInstance].brandText];
         
+        
         self.tableView.tableHeaderView = self.searchController.searchBar;
         [self.tableView setContentOffset:CGPointMake(0, self.searchController.searchBar.frame.size.height - self.tableView.contentOffset.y)];