diff options
author | cyBerta <cyberta@riseup.net> | 2024-10-11 13:41:11 +0200 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2024-12-11 00:09:34 +0000 |
commit | 42859e489e7bb21a9346ad0fdb5cf99c9812ac8e (patch) | |
tree | 8dee5bd7e655f91b5aed82facf5a905b620ea206 /app/src/main/java/se/leap/bitmaskclient/base | |
parent | 323d503750cdd737015816a1fddc8ae0ae19af77 (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.java | 2 |
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() { |