Parcourir la source

Merge pull request #1087 from Infomaniak/fix-searchcontroller

Fix searchcontroller background color when active
Marino Faggiana il y a 5 ans
Parent
commit
2157fc48c2
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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]]) {