summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-02-05 12:02:20 +0100
committercyBerta <cyberta@riseup.net>2022-02-05 12:02:20 +0100
commit4d0a25c8ac306314467c24b5836f723372ccc8ad (patch)
tree28b3558df80c31918ec85a7e29a590c0f18f4e4f /app/src
parent93071764fbc133996d7f7d52db13eea6939a50bf (diff)
always show 'show connection details' if connection details have been visible and are going to be hidden
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/activities/ConfigWizardBaseActivity.java4
1 files changed, 3 insertions, 1 deletions
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);