From 4d0a25c8ac306314467c24b5836f723372ccc8ad Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 5 Feb 2022 12:02:20 +0100 Subject: always show 'show connection details' if connection details have been visible and are going to be hidden --- .../providersetup/activities/ConfigWizardBaseActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/ConfigWizardBaseActivity.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/ConfigWizardBaseActivity.java index 29900ad3..aaf20647 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/ConfigWizardBaseActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/ConfigWizardBaseActivity.java @@ -228,7 +228,9 @@ public abstract class ConfigWizardBaseActivity extends ButterKnifeActivity imple if (loadingScreen == null) { return; } - + if (connectionDetailContainer.getVisibility() == VISIBLE) { + connectionDetailBtn.setText(R.string.show_connection_details); + } connectionDetailHeaderContainer.setVisibility(GONE); connectionDetailContainer.setVisibility(GONE); logsContainer.setVisibility(GONE); -- cgit v1.2.3