summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-19 21:11:38 +0200
committercyBerta <cyberta@riseup.net>2019-10-19 21:11:38 +0200
commit5e38778a848b70c615bd5680a4c4320b4d98199d (patch)
tree03fead09df42c3210c487560436f0c395d6bcce7 /app
parentb715aeba40bfb62de2f6a158609dfd81126da25a (diff)
don't fade progress animation out as it causes laggy ui feeling during switch between different connections
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/EipFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/EipFragment.java b/app/src/main/java/se/leap/bitmaskclient/EipFragment.java
index 269bf61f..6c8254d6 100644
--- a/app/src/main/java/se/leap/bitmaskclient/EipFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/EipFragment.java
@@ -385,7 +385,7 @@ public class EipFragment extends Fragment implements Observer {
mainButton.setText(activity.getString(R.string.vpn_button_turn_off));
setMainButtonEnabled(true);
vpnStateImage.setStateIcon(R.drawable.vpn_connected);
- vpnStateImage.stopProgress(true);
+ vpnStateImage.stopProgress(false);
routedText.setText(R.string.vpn_securely_routed);
routedText.setVisibility(VISIBLE);
vpnRoute.setVisibility(VISIBLE);
@@ -395,7 +395,7 @@ public class EipFragment extends Fragment implements Observer {
mainButton.setText(activity.getString(R.string.vpn_button_turn_off));
setMainButtonEnabled(true);
vpnStateImage.setStateIcon(R.drawable.vpn_disconnected);
- vpnStateImage.stopProgress(true);
+ vpnStateImage.stopProgress(false);
routedText.setText(R.string.vpn_securely_routed_no_internet);
routedText.setVisibility(VISIBLE);
vpnRoute.setVisibility(VISIBLE);