Highlight plain text

pull/178/head
M66B 5 years ago
parent 02734b20bc
commit bd7e055008

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

Loading…
Cancel
Save