summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-02-05 04:35:29 +0100
committercyBerta <cyberta@riseup.net>2022-02-05 04:35:29 +0100
commit36ced606f6886b074ac42761f672f30328917f6f (patch)
tree413b8e3a85e2ac58cd9e31fd429f3bd03cb83f4d /app/src/main/java
parent09b3c509223cc3dedcc09763b570f5016d73857f (diff)
avoid short animation when turning off the VPN
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java
index 07057d6e..28879a71 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java
@@ -515,7 +515,7 @@ public class EipFragment extends Fragment implements Observer {
}
private void showConnectionTransitionLayout(boolean isConnecting) {
- mainButton.updateState(true, true, false);
+ mainButton.updateState(true, isConnecting, false);
if (isConnecting) {
colorBackgroundALittle();
} else {