mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-25 07:08:30 +01:00
Focus on disabling tracking paramaters
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user