mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-23 01:29:40 +02:00
Fix broken "Download Asset" function for HTML source (#1998)
This commit is contained in:
@@ -353,7 +353,12 @@ class HTML extends AppSource {
|
||||
forAPKDownload: true),
|
||||
allowInsecure: additionalSettings['allowInsecure'] == true))
|
||||
.toString();
|
||||
return APKDetails(version, [rel].map((e) => MapEntry(e, e)).toList(),
|
||||
return APKDetails(
|
||||
version,
|
||||
[rel]
|
||||
.map((e) =>
|
||||
MapEntry('${e.hashCode}-${Uri.parse(e).pathSegments.last}', e))
|
||||
.toList(),
|
||||
AppNames(uri.host, tr('app')));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user