summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-07-31 18:33:39 +0200
committercyBerta <cyberta@riseup.net>2021-11-15 16:13:41 +0100
commit6c09f3663ad1acce76a9e91af31ad3a7bb87045b (patch)
treeaff8d0c997ef20c21faac9da88377ee551838f39 /app
parent5aeac5904584fb7da9cafc09a9dff8970b2adbb7 (diff)
avoid layout jumping
Diffstat (limited to 'app')
-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);
}