summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-07-31 18:33:39 +0200
committercyBerta <cyberta@riseup.net>2021-11-14 19:44:25 +0100
commita82d85c3f8ed72597c4a8da77c816501f5f6d47d (patch)
treed7d01bd759a01e0ac2fab4a6f9db9c8a001a5353 /app/src/main/java/se
parent7d56739d95eb5e8552e13f102246af2f6c13101b (diff)
avoid layout jumping
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java4
1 files changed, 2 insertions, 2 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 3650804f..7456fcc9 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
@@ -70,7 +70,7 @@ import se.leap.bitmaskclient.providersetup.activities.CustomProviderSetupActivit
import se.leap.bitmaskclient.providersetup.activities.LoginActivity;
import se.leap.bitmaskclient.providersetup.models.LeapSRPSession;
-import static android.view.View.GONE;
+import static android.view.View.INVISIBLE;
import static android.view.View.VISIBLE;
import static de.blinkt.openvpn.core.ConnectionStatus.LEVEL_NONETWORK;
import static se.leap.bitmaskclient.R.string.vpn_certificate_user_message;
@@ -480,7 +480,7 @@ public class EipFragment extends Fragment implements Observer {
vpnStateImage.stopProgress(false);
greyscaleBackground();
locationButton.setLocationLoad(UNKNOWN);
- locationButton.setVisibility(GONE);
+ locationButton.setVisibility(INVISIBLE);
mainDescription.setText(R.string.eip_state_insecure);
subDescription.setText(R.string.connection_not_connected);
}