Improved XAPK Support (#682)

This commit is contained in:
Imran Remtulla
2024-11-23 16:05:02 -05:00
parent 8922b1c048
commit e82170fec6
3 changed files with 42 additions and 32 deletions

View File

@@ -105,11 +105,7 @@ class APKPure extends AppSource {
.map((e) => e.text.trim())
.map((t) => t == 'APKs' ? 'APK' : t) ??
[];
String type = types.isEmpty
? 'APK'
: types.length == 1
? types.first
: types.last;
String type = types.isEmpty ? 'APK' : types.first;
String? dateString = apkInfo
?.querySelector('div.info-bottom span.time')
?.text