Small improvement

pull/204/head
M66B 3 years ago
parent 90f92980e2
commit c533b86c94

@ -5955,8 +5955,12 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
same = false;
log("labels changed", next.id);
}
// notifying
// fts
if (!prev.auto_classified.equals(next.auto_classified)) {
same = false;
log("auto_classified changed " + prev.auto_classified + "/" + next.auto_classified, next.id);
}
// notifying
if (!prev.ui_seen.equals(next.ui_seen)) {
same = false;
log("ui_seen changed " + prev.ui_seen + "/" + next.ui_seen, next.id);

@ -196,12 +196,12 @@ public class EntityMessage implements Serializable {
public String[] keywords; // user flags
public String[] labels; // Gmail
@NonNull
public Integer notifying = 0;
@NonNull
public Boolean fts = false;
@NonNull
public Boolean auto_classified = false;
@NonNull
public Integer notifying = 0;
@NonNull
public Boolean ui_seen = false;
@NonNull
public Boolean ui_answered = false;
@ -570,6 +570,7 @@ public class EntityMessage implements Serializable {
this.deleted.equals(other.deleted) &&
Objects.equals(this.flags, other.flags) &&
Helper.equal(this.keywords, other.keywords) &&
this.auto_classified.equals(other.auto_classified) &&
this.notifying.equals(other.notifying) &&
this.ui_seen.equals(other.ui_seen) &&
this.ui_answered.equals(other.ui_answered) &&

Loading…
Cancel
Save