diff options
author | cyBerta <cyberta@riseup.net> | 2022-12-09 03:07:04 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-12-09 03:07:04 +0100 |
commit | 336b7cf2be7baa2d064c2d04acbd855f63da899f (patch) | |
tree | 381d3fed9102c2406e953122aca4d386989a8536 /app | |
parent | 26b786b1a133dc968b97dc68b9b87a64bc6c8465 (diff) |
show connecting state background when vpn is actually blocking for now
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java | 8 |
1 files changed, 4 insertions, 4 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 a5ccb81d..02feafd3 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 @@ -547,16 +547,16 @@ public class EipFragment extends Fragment implements Observer { setActivityBarColor(R.color.bg_disconnected_top, R.color.bg_disconnected_top_light_transparent); } else if (eipStatus.isBlocking()) { setMainButtonEnabled(true); - mainButton.updateState(true, false, true); + mainButton.updateState(false, true, true); locationButton.setText(R.string.no_location); locationButton.setLocationLoad(UNKNOWN); locationButton.showBridgeIndicator(false); locationButton.showRecommendedIndicator(false); mainDescription.setText(R.string.eip_state_connected); subDescription.setText(getString(R.string.eip_state_blocking, getString(R.string.app_name))); - background.setImageResource(R.drawable.bg_disconnected); - animateState(R.drawable.state_disconnected); - setActivityBarColor(R.color.bg_disconnected_top, R.color.bg_disconnected_top_light_transparent); + background.setImageResource(R.drawable.bg_connecting); + animateState(R.drawable.state_connecting); + setActivityBarColor(R.color.bg_connecting_top, R.color.bg_connecting_top_light_transparent); } else { locationButton.setText(R.string.vpn_button_turn_on); setMainButtonEnabled(true); |