summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/base
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2024-10-11 13:41:11 +0200
committercyberta <cyberta@riseup.net>2024-12-11 00:09:34 +0000
commit42859e489e7bb21a9346ad0fdb5cf99c9812ac8e (patch)
tree8dee5bd7e655f91b5aed82facf5a905b620ea206 /app/src/main/java/se/leap/bitmaskclient/base
parent323d503750cdd737015816a1fddc8ae0ae19af77 (diff)
very basic provider setup for v5, proper error handling still missing
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/base')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/models/Provider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/models/Provider.java b/app/src/main/java/se/leap/bitmaskclient/base/models/Provider.java
index b3483506..3545caca 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/models/Provider.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/models/Provider.java
@@ -417,7 +417,7 @@ public final class Provider implements Parcelable {
}
public boolean hasDefinition() {
- return definition != null && definition.length() > 0;
+ return (definition != null && definition.length() > 0) || (modelsProvider != null);
}
public boolean hasGeoIpJson() {