mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 21:13:28 +01:00 
			
		
		
		
	Auto-select direct APK source for URLs ending in '.apk' (#1820)
This commit is contained in:
		| @@ -472,7 +472,7 @@ abstract class AppSource { | ||||
|     // | ||||
|   } | ||||
|  | ||||
|   String sourceSpecificStandardizeURL(String url) { | ||||
|   String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) { | ||||
|     throw NotImplementedError(); | ||||
|   } | ||||
|  | ||||
| @@ -809,7 +809,7 @@ class SourceProvider { | ||||
|       for (var s in sources.where( | ||||
|           (element) => element.hosts.isEmpty && !element.neverAutoSelect)) { | ||||
|         try { | ||||
|           s.sourceSpecificStandardizeURL(url); | ||||
|           s.sourceSpecificStandardizeURL(url, forSelection: true); | ||||
|           source = s; | ||||
|           break; | ||||
|         } catch (e) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user