mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-11-09 09:33:29 +01:00
Fix error message for RuStore when no APK found (#2615)
This commit is contained in:
@@ -86,7 +86,11 @@ class RuStore extends AppSource {
|
||||
postBody: {"appId": appDetails['appId'], "firstInstall": true},
|
||||
);
|
||||
var downloadDetails = (await decodeJsonBody(res1.bodyBytes))['body'];
|
||||
if (res1.statusCode != 200 || downloadDetails['downloadUrls'][0]['url'] == null) {
|
||||
try {
|
||||
if (res1.statusCode != 200 || downloadDetails['downloadUrls'][0]['url'] == null) {
|
||||
throw NoAPKError();
|
||||
}
|
||||
} catch (e) {
|
||||
throw NoAPKError();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user