소스 검색

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]]) {