List expressions

This commit is contained in:
M66B 2024-04-17 13:16:33 +02:00
parent 9b656434bd
commit 7d0da8d5fa
1 changed files with 4 additions and 0 deletions

View File

@ -188,6 +188,10 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> {
range, null));
}
if (jcondition.has("expression"))
conditions.add(new Condition(context.getString(R.string.title_rule_expression),
jcondition.getString("expression"), null));
SpannableStringBuilder ssb = new SpannableStringBuilderEx();
for (Condition condition : conditions) {
if (ssb.length() > 0)