浏览代码

Merge pull request #1087 from Infomaniak/fix-searchcontroller

Fix searchcontroller background color when active
Marino Faggiana 5 年之前
父节点
当前提交
2157fc48c2
共有 1 个文件被更改,包括 1 次插入0 次删除
  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]]) {