Browse Source

option search

Marino Faggiana 8 years ago
parent
commit
fd6e7b6adb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Main/CCMain.m

+ 2 - 1
iOSClient/Main/CCMain.m

@@ -1983,7 +1983,8 @@
 - (void)searchBar:(UISearchBar *)searchBar selectedScopeButtonIndexDidChange:(NSInteger)selectedScope
 {
     NSString *title = [self.searchController.searchBar.scopeButtonTitles objectAtIndex:selectedScope];
-    
+    self.searchController.searchBar.placeholder = title;
+
     if ([title isEqualToString:NSLocalizedString(@"_search_this_folder_",nil)])
         _depth = @"0";