summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-19 16:32:02 +0100
committercyBerta <cyberta@riseup.net>2021-11-19 16:32:02 +0100
commitbdabe7aa19f4cf2a37a399a49b4d15f249486636 (patch)
tree76d76a640ba595575eb5ae1493fed6a93273464a /app/src/main/java/se
parentbf9f3086aa8d0e9cf3a8969b7596cc395848eab9 (diff)
make UI less noisy on (re-)connects
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java6
1 files changed, 1 insertions, 5 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 f1a5a914..58214a77 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
@@ -417,13 +417,9 @@ public class EipFragment extends Fragment implements Observer {
if (eipStatus.isConnecting() ) {
setMainButtonEnabled(true);
showConnectionTransitionLayout(true);
- if (eipStatus.isReconnecting()) {
- subDescription.setText(getString(R.string.reconnecting));
- } else {
- subDescription.setText(R.string.connection_not_connected);
- }
locationButton.setText(getString(R.string.finding_best_connection));
mainDescription.setText(R.string.eip_state_insecure);
+ subDescription.setText(null);
locationButton.setLocationLoad(UNKNOWN);
locationButton.showBridgeIndicator(false);
} else if (eipStatus.isConnected()) {