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

@ -20,7 +20,7 @@ class SourceHut extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
caseSensitive: false);