Rule UI improvements

This commit is contained in:
M66B
2019-01-17 21:25:22 +00:00
parent 5cacec0670
commit 699d1be7ec
8 changed files with 86 additions and 58 deletions

View File

@@ -57,11 +57,11 @@ public class EntityRule {
@NonNull
public int order;
@NonNull
public boolean enabled;
@NonNull
public String condition;
@NonNull
public String action;
@NonNull
public boolean enabled;
static final int TYPE_SEEN = 1;
static final int TYPE_UNSEEN = 2;
@@ -135,9 +135,10 @@ public class EntityRule {
EntityRule other = (EntityRule) obj;
return this.folder.equals(other.folder) &&
this.name.equals(other.name) &&
this.order == other.order &&
this.enabled == other.enabled &&
this.condition.equals(other.condition) &&
this.action.equals(other.action) &&
this.enabled == other.enabled;
this.action.equals(other.action);
} else
return false;
}