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:
parent
02734b20bc
commit
bd7e055008
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue