1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Prevent crash

This commit is contained in:
M66B 2023-02-10 08:01:06 +01:00
parent e03cc71697
commit 3c5f0e1b25

View file

@ -53,7 +53,7 @@ public class TupleFolderView {
public boolean equals(@Nullable Object obj) {
if (obj instanceof TupleFolderView) {
TupleFolderView other = (TupleFolderView) obj;
return (this.id.equals(other.id) &&
return (Objects.equals(this.id, other.id) &&
Objects.equals(this.account, other.account) &&
this.name.equals(other.name) &&
this.type.equals(other.type) &&