mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 08:01:50 +01:00
Set new rule name to subject
This commit is contained in:
@@ -532,7 +532,7 @@ public class FragmentRule extends FragmentBase {
|
||||
JSONObject jsubject = jcondition.optJSONObject("subject");
|
||||
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));
|
||||
cbEnabled.setChecked(rule == null || rule.enabled);
|
||||
cbStop.setChecked(rule != null && rule.stop);
|
||||
|
||||
Reference in New Issue
Block a user