|
|
@ -117,6 +117,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
private TextView tvLanguageToolPrivacy;
|
|
|
|
private TextView tvLanguageToolPrivacy;
|
|
|
|
private ImageButton ibLanguageTool;
|
|
|
|
private ImageButton ibLanguageTool;
|
|
|
|
private SwitchCompat swDeepL;
|
|
|
|
private SwitchCompat swDeepL;
|
|
|
|
|
|
|
|
private TextView tvDeepLPrivacy;
|
|
|
|
private ImageButton ibDeepL;
|
|
|
|
private ImageButton ibDeepL;
|
|
|
|
private SwitchCompat swVirusTotal;
|
|
|
|
private SwitchCompat swVirusTotal;
|
|
|
|
private TextView tvVirusTotalPrivacy;
|
|
|
|
private TextView tvVirusTotalPrivacy;
|
|
|
@ -305,6 +306,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
tvLanguageToolPrivacy = view.findViewById(R.id.tvLanguageToolPrivacy);
|
|
|
|
tvLanguageToolPrivacy = view.findViewById(R.id.tvLanguageToolPrivacy);
|
|
|
|
ibLanguageTool = view.findViewById(R.id.ibLanguageTool);
|
|
|
|
ibLanguageTool = view.findViewById(R.id.ibLanguageTool);
|
|
|
|
swDeepL = view.findViewById(R.id.swDeepL);
|
|
|
|
swDeepL = view.findViewById(R.id.swDeepL);
|
|
|
|
|
|
|
|
tvDeepLPrivacy = view.findViewById(R.id.tvDeepLPrivacy);
|
|
|
|
ibDeepL = view.findViewById(R.id.ibDeepL);
|
|
|
|
ibDeepL = view.findViewById(R.id.ibDeepL);
|
|
|
|
swVirusTotal = view.findViewById(R.id.swVirusTotal);
|
|
|
|
swVirusTotal = view.findViewById(R.id.swVirusTotal);
|
|
|
|
tvVirusTotalPrivacy = view.findViewById(R.id.tvVirusTotalPrivacy);
|
|
|
|
tvVirusTotalPrivacy = view.findViewById(R.id.tvVirusTotalPrivacy);
|
|
|
@ -615,6 +617,14 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvDeepLPrivacy.getPaint().setUnderlineText(true);
|
|
|
|
|
|
|
|
tvDeepLPrivacy.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
Helper.view(v.getContext(), Uri.parse(DeepL.PRIVACY_URI), true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
swDeepL.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
|
|
|
swDeepL.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
|
|
|
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
|
|
|