mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Added widget new message count per account
This commit is contained in:
@@ -25,6 +25,7 @@ import androidx.annotation.Nullable;
|
||||
import java.util.Objects;
|
||||
|
||||
public class TupleMessageStats {
|
||||
public Long account;
|
||||
public Integer unseen;
|
||||
public Integer notifying;
|
||||
|
||||
@@ -32,7 +33,8 @@ public class TupleMessageStats {
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
if (obj instanceof TupleMessageStats) {
|
||||
TupleMessageStats other = (TupleMessageStats) obj;
|
||||
return (Objects.equals(this.unseen, other.unseen) &&
|
||||
return (Objects.equals(this.account, other.account) &&
|
||||
Objects.equals(this.unseen, other.unseen) &&
|
||||
Objects.equals(this.notifying, other.notifying));
|
||||
} else
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user