From 5e38778a848b70c615bd5680a4c4320b4d98199d Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 19 Oct 2019 21:11:38 +0200 Subject: don't fade progress animation out as it causes laggy ui feeling during switch between different connections --- app/src/main/java/se/leap/bitmaskclient/EipFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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); -- cgit v1.2.3