mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Show search filter in search bar hint
This commit is contained in:
		| @@ -945,6 +945,15 @@ public class SearchFragment extends BaseListFragment<SearchInfo, ListExtractor.I | ||||
|         filterItemCheckedId = item.getItemId(); | ||||
|         item.setChecked(true); | ||||
|  | ||||
|         if ((theContentFilter.isEmpty() || "all".equals(theContentFilter.get(0))) | ||||
|                 && service != null) { | ||||
|             searchEditText.setHint( | ||||
|                     getString(R.string.search_with_service_name, | ||||
|                             service.getServiceInfo().getName())); | ||||
|         } else { | ||||
|             searchEditText.setHint(getString(R.string.search_with_service_name, item.getTitle())); | ||||
|         } | ||||
|  | ||||
|         contentFilter = theContentFilter.toArray(new String[0]); | ||||
|  | ||||
|         if (!TextUtils.isEmpty(searchString)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stypox
					Stypox