mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 05:16:43 +02:00
apkpure: throw NoReleasesError when version list is empty
This commit is contained in:
@ -177,6 +177,10 @@ class APKPure extends AppSource {
|
||||
.values
|
||||
.toList();
|
||||
|
||||
if (versions.isEmpty) {
|
||||
throw NoReleasesError();
|
||||
}
|
||||
|
||||
for (var i = 0; i < versions.length; i++) {
|
||||
var v = versions[i];
|
||||
try {
|
||||
|
Reference in New Issue
Block a user