summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-10-26 15:57:11 +0200
committercyBerta <cyberta@riseup.net>2023-10-26 15:57:11 +0200
commitf74107e3c47824e1cf4fdbc415d32871eb85f83c (patch)
tree15f7a3917c7b32cdb229b8beddfa848bb6c25990 /app/src/main/java/se
parent2eb98255755f8aff09dd8ab0858072a2037087d0 (diff)
fix possible NPE in ProviderSetupObservable
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java
index 56ef357b..90a32fea 100644
--- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java
+++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java
@@ -47,7 +47,7 @@ public class ProviderSetupObservable extends Observable {
}
public static void updateProgress(int progress) {
- if (instance.canceled) {
+ if (getInstance().canceled) {
return;
}
long now = System.currentTimeMillis();