mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-12 09:58:10 +02:00
Add appId empty check
This commit is contained in:
@@ -89,7 +89,7 @@ class VivoAppStore extends AppSource {
|
|||||||
|
|
||||||
String parseVivoAppId(String url) {
|
String parseVivoAppId(String url) {
|
||||||
var appId = Uri.parse(url.replaceAll('/#', '')).queryParameters['appId'];
|
var appId = Uri.parse(url.replaceAll('/#', '')).queryParameters['appId'];
|
||||||
if (appId == null) {
|
if (appId == null || appId.isEmpty) {
|
||||||
throw InvalidURLError(name);
|
throw InvalidURLError(name);
|
||||||
}
|
}
|
||||||
return appId;
|
return appId;
|
||||||
|
Reference in New Issue
Block a user