Auto-select direct APK source for URLs ending in '.apk' (#1820)

This commit is contained in:
Imran Remtulla
2024-09-08 02:51:11 -04:00
parent e019c8027b
commit 0e46a83843
24 changed files with 39 additions and 25 deletions

View File

@ -43,7 +43,7 @@ class FDroidRepo extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
var standardUri = Uri.parse(url);
var pathSegments = standardUri.pathSegments;
if (pathSegments.isNotEmpty && pathSegments.last == 'index.xml') {