mirror of https://github.com/M66B/FairEmail.git
Set new rule name to subject
This commit is contained in:
parent
79e40ade73
commit
4e32004ca9
|
@ -532,7 +532,7 @@ public class FragmentRule extends FragmentBase {
|
||||||
JSONObject jsubject = jcondition.optJSONObject("subject");
|
JSONObject jsubject = jcondition.optJSONObject("subject");
|
||||||
JSONObject jheader = jcondition.optJSONObject("header");
|
JSONObject jheader = jcondition.optJSONObject("header");
|
||||||
|
|
||||||
etName.setText(rule == null ? null : rule.name);
|
etName.setText(rule == null ? args.getString("subject") : rule.name);
|
||||||
etOrder.setText(rule == null ? null : Integer.toString(rule.order));
|
etOrder.setText(rule == null ? null : Integer.toString(rule.order));
|
||||||
cbEnabled.setChecked(rule == null || rule.enabled);
|
cbEnabled.setChecked(rule == null || rule.enabled);
|
||||||
cbStop.setChecked(rule != null && rule.stop);
|
cbStop.setChecked(rule != null && rule.stop);
|
||||||
|
|
Loading…
Reference in New Issue