Forráskód Böngészése

fix searchButton color after changeTheming

Marino Faggiana 7 éve
szülő
commit
c6c74ccfe1
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -1642,9 +1642,9 @@
         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;
+        self.searchController.searchBar.barTintColor = [NCBrandColor sharedInstance].brand;
         self.searchController.searchBar.backgroundColor = [NCBrandColor sharedInstance].brand;
         self.searchController.searchBar.backgroundImage = [UIImage new];
         // color searchbbar button text (cancel)