mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	rename Search Query handler
This commit is contained in:
		| @@ -54,7 +54,7 @@ dependencies { | ||||
|         exclude module: 'support-annotations' | ||||
|     } | ||||
|  | ||||
|     implementation 'com.github.TeamNewPipe:NewPipeExtractor:701666f4982514' | ||||
|     implementation 'com.github.TeamNewPipe:NewPipeExtractor:aeb813840d6' | ||||
|  | ||||
|     testImplementation 'junit:junit:4.12' | ||||
|     testImplementation 'org.mockito:mockito-core:2.8.9' | ||||
|   | ||||
| @@ -365,7 +365,7 @@ public class SearchFragment | ||||
|         int itemId = 0; | ||||
|         boolean isFirstItem = true; | ||||
|         final Context c = getContext(); | ||||
|         for(String filter : service.getSearchQIHFactory().getAvailableContentFilter()) { | ||||
|         for(String filter : service.getSearchQHFactory().getAvailableContentFilter()) { | ||||
|             menuItemToFilterName.put(itemId, filter); | ||||
|             MenuItem item = menu.add(1, | ||||
|                     itemId++, | ||||
|   | ||||
| @@ -73,7 +73,7 @@ public final class ExtractorHelper { | ||||
|         return Single.fromCallable(() -> | ||||
|             SearchInfo.getInfo(NewPipe.getService(serviceId), | ||||
|                     NewPipe.getService(serviceId) | ||||
|                         .getSearchQIHFactory() | ||||
|                         .getSearchQHFactory() | ||||
|                         .fromQuery(searchString, contentFilter, sortFilter), | ||||
|                     contentCountry)); | ||||
|     } | ||||
| @@ -88,7 +88,7 @@ public final class ExtractorHelper { | ||||
|         return Single.fromCallable(() -> | ||||
|                 SearchInfo.getMoreItems(NewPipe.getService(serviceId), | ||||
|                         NewPipe.getService(serviceId) | ||||
|                             .getSearchQIHFactory() | ||||
|                             .getSearchQHFactory() | ||||
|                             .fromQuery(searchString, contentFilter, sortFilter), | ||||
|                         contentCountry, | ||||
|                         pageUrl)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Christian Schabesberger
					Christian Schabesberger