Added rule noop

This commit is contained in:
M66B
2019-10-01 12:40:54 +02:00
parent 9f1dfac07a
commit 43612ecd2b
4 changed files with 8 additions and 0 deletions

View File

@@ -121,6 +121,9 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> {
JSONObject jaction = new JSONObject(rule.action);
int type = jaction.getInt("type");
switch (type) {
case EntityRule.TYPE_NOOP:
tvAction.setText(R.string.title_rule_noop);
break;
case EntityRule.TYPE_SEEN:
tvAction.setText(R.string.title_rule_seen);
break;