mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 05:16:43 +02:00
apkpure: properly throw NoAPKError if none found
This commit is contained in:
@ -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'];
|
||||
|
Reference in New Issue
Block a user