Browse Source

Merge pull request #1087 from Infomaniak/fix-searchcontroller

Fix searchcontroller background color when active
Marino Faggiana 5 years ago
parent
commit
2157fc48c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      iOSClient/Main/CCMain.m

+ 1 - 0
iOSClient/Main/CCMain.m

@@ -305,6 +305,7 @@
     // color searchbar
     self.searchController.searchBar.barTintColor = NCBrandColor.sharedInstance.brand;
     self.searchController.searchBar.backgroundColor = NCBrandColor.sharedInstance.brand;
+    self.view.backgroundColor = NCBrandColor.sharedInstance.brand;
     // color searchbbar button text (cancel)
     UIButton *searchButton = self.searchController.searchBar.subviews.firstObject.subviews.lastObject;
     if (searchButton && [searchButton isKindOfClass:[UIButton class]]) {