mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Fixed widget update in some circumstances
This commit is contained in:
@@ -22,6 +22,7 @@ package eu.faircode.email;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
public class TupleMessageWidgetCount {
|
||||
public long folder;
|
||||
public int total;
|
||||
public int seen;
|
||||
public int flagged;
|
||||
@@ -30,7 +31,8 @@ public class TupleMessageWidgetCount {
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
if (obj instanceof TupleMessageWidgetCount) {
|
||||
TupleMessageWidgetCount other = (TupleMessageWidgetCount) obj;
|
||||
return (this.total == other.total &&
|
||||
return (this.folder == other.folder &&
|
||||
this.total == other.total &&
|
||||
this.seen == other.seen &&
|
||||
this.flagged == other.flagged);
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user