summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-25 15:38:33 +0100
committercyBerta <cyberta@riseup.net>2021-11-25 15:39:38 +0100
commit53f418cef621eb680bbfd7502004a0125eb3e09e (patch)
treeb3e35a15c2d8c07ceadf809fe9521ed1b3e4bd7c /app/src
parent37abb77b42eb63892b042e5fd158fd80e0a0ccf0 (diff)
adapt wording for hiding connection details, fixes #9051
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/activities/ConfigWizardBaseActivity.java5
-rw-r--r--app/src/main/res/layout-xlarge/v_loading_screen.xml2
-rw-r--r--app/src/main/res/values/strings.xml2
3 files changed, 3 insertions, 6 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 a4104e30..29900ad3 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
@@ -9,7 +9,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
-import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
@@ -22,7 +21,6 @@ import androidx.appcompat.widget.AppCompatTextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.constraintlayout.widget.Guideline;
import androidx.core.content.ContextCompat;
-import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
@@ -31,7 +29,6 @@ import java.util.Observable;
import java.util.Observer;
import butterknife.BindView;
-import se.leap.bitmaskclient.BuildConfig;
import se.leap.bitmaskclient.R;
import se.leap.bitmaskclient.base.models.Provider;
import se.leap.bitmaskclient.base.views.ProviderHeaderView;
@@ -270,7 +267,7 @@ public abstract class ConfigWizardBaseActivity extends ButterKnifeActivity imple
logsContainer.setVisibility(VISIBLE);
connectionDetailContainer.setVisibility(VISIBLE);
connectionDetailsTitle.setVisibility(VISIBLE);
- connectionDetailBtn.setText(R.string.hide_connection_details);
+ connectionDetailBtn.setText(R.string.hide);
}
});
connectionDetailHeaderContainer.setVisibility(VISIBLE);
diff --git a/app/src/main/res/layout-xlarge/v_loading_screen.xml b/app/src/main/res/layout-xlarge/v_loading_screen.xml
index 24b44f9a..2ecb8f42 100644
--- a/app/src/main/res/layout-xlarge/v_loading_screen.xml
+++ b/app/src/main/res/layout-xlarge/v_loading_screen.xml
@@ -80,7 +80,7 @@
android:maxLines="1"
android:ellipsize="end"
android:visibility="visible"
- tools:text="@string/hide_connection_details"
+ tools:text="@string/hide"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/connection_details_title"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 9ef0b9a5..df37b5ba 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -182,7 +182,7 @@
<string name="channel_description_tor_service">Informs about usage of bridges while configuring %s.</string>
<string name="error_tor_timeout">Starting bridges failed. Do you want to retry or continue with an unobfuscated secure connection to configure %s?</string>
<string name="retry_unobfuscated">Retry unobfuscated</string>
- <string name="hide_connection_details">Hide connection details</string>
+ <string name="hide">Hide</string>
<string name="error_network_connection">%s has no internet connection. Please check your WiFi and cellular data settings.</string>
<string name="censorship_circumvention">Censorship circumvention</string>
<string name="use_snowflake">Use Snowflake</string>