1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Highlight plain text

This commit is contained in:
M66B 2020-05-20 09:18:16 +02:00
parent 02734b20bc
commit bd7e055008

View file

@ -4993,6 +4993,9 @@ public class FragmentCompose extends FragmentBase {
cbPlainOnly.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
cbPlainOnly.setTextColor(Helper.resolveColor(getContext(),
checked ? R.attr.colorAccent : android.R.attr.textColorSecondary));
Bundle args = new Bundle();
args.putLong("id", id);
args.putBoolean("plain_only", checked);