mirror of https://github.com/M66B/FairEmail.git
Focus on disabling tracking paramaters
This commit is contained in:
parent
f70a822017
commit
be9a7bfd46
|
@ -324,6 +324,11 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
|||
cbSanitize.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
cbSanitize.setTextColor(Helper.resolveColor(context,
|
||||
checked ? android.R.attr.textColorSecondary : R.attr.colorWarning));
|
||||
cbSanitize.setTypeface(
|
||||
checked ? Typeface.DEFAULT : Typeface.DEFAULT_BOLD);
|
||||
|
||||
Uri link = (checked ? sanitized : uri);
|
||||
boolean secure = cbSecure.isChecked();
|
||||
cbSecure.setTag(secure);
|
||||
|
|
|
@ -173,6 +173,7 @@
|
|||
android:layout_marginTop="12dp"
|
||||
android:drawablePadding="6dp"
|
||||
android:text="@string/title_link_http"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textColor="?attr/colorWarning"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -184,6 +185,9 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/title_sanitize_link"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textColor="?attr/colorWarning"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/cbSecure" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue