summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-19 16:22:59 +0100
committercyBerta <cyberta@riseup.net>2021-11-19 16:22:59 +0100
commit038da31d493e526c8c861caf0313f065e133cc36 (patch)
treebeebea4261cdcf0b3bb82f43374eb30fa8d9dd24
parent72ab8da066b4ef4b11c7758b1aac691956d1f160 (diff)
fix blocking vpn hint on eip fragment
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java4
1 files changed, 1 insertions, 3 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 b2e91fd5..eae84439 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
@@ -462,17 +462,15 @@ public class EipFragment extends Fragment implements Observer {
setMainButtonEnabled(false);
showConnectionTransitionLayout(false);
mainDescription.setText(R.string.eip_state_insecure);
- subDescription.setText(R.string.connection_not_connected);
} else if (eipStatus.isBlocking()) {
setMainButtonEnabled(true);
mainButton.updateState(true, false, true);
colorBackgroundALittle();
locationButton.setText(getString(R.string.finding_best_connection));
- locationButton.setVisibility(VISIBLE);
locationButton.setLocationLoad(UNKNOWN);
locationButton.showBridgeIndicator(false);
mainDescription.setText(R.string.eip_state_connected);
- subDescription.setText(R.string.eip_state_blocking);
+ subDescription.setText(getString(R.string.eip_state_blocking, getString(R.string.app_name)));
} else {
locationButton.setText(activity.getString(R.string.vpn_button_turn_on));
setMainButtonEnabled(true);