diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsConnection.java b/app/src/main/java/eu/faircode/email/FragmentOptionsConnection.java index 1dc013d51a..22b16d3219 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsConnection.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsConnection.java @@ -263,9 +263,6 @@ public class FragmentOptionsConnection extends FragmentBase implements SharedPre } }); - swTcpKeepAlive.setVisibility(debug || BuildConfig.DEBUG ? View.VISIBLE : View.GONE); - tvTcpKeepAliveHint.setVisibility(debug || BuildConfig.DEBUG ? View.VISIBLE : View.GONE); - swTcpKeepAlive.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { diff --git a/app/src/main/res/layout/fragment_options_connection.xml b/app/src/main/res/layout/fragment_options_connection.xml index ebea2f87bb..772fdf8b74 100644 --- a/app/src/main/res/layout/fragment_options_connection.xml +++ b/app/src/main/res/layout/fragment_options_connection.xml @@ -417,6 +417,7 @@ android:layout_marginEnd="48dp" android:text="@string/title_advanced_tcp_keep_alive_hint" android:textAppearance="@style/TextAppearance.AppCompat.Small" + android:textColor="?attr/colorWarning" android:textStyle="italic" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -440,6 +441,7 @@ android:layout_marginEnd="48dp" android:text="@string/title_advanced_ssl_harden_hint" android:textAppearance="@style/TextAppearance.AppCompat.Small" + android:textColor="?attr/colorWarning" android:textStyle="italic" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"