apkpure: properly throw NoAPKError if none found

This commit is contained in:
bernikr
2025-05-19 18:42:55 +02:00
parent 6e0819b0a7
commit ee9b0e710c

View File

@ -104,6 +104,10 @@ class APKPure extends AppSource {
.toList()
.unique((e) => e.key);
if (apkUrls.isEmpty) {
throw NoAPKError();
}
// get version details from first variant
var v = versionVariants.first;
String version = v['version_name'];