mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Added saved search color
This commit is contained in:
@@ -23,6 +23,8 @@ import androidx.annotation.NonNull;
|
||||
import androidx.room.Entity;
|
||||
import androidx.room.PrimaryKey;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@Entity(
|
||||
tableName = EntitySearch.TABLE_NAME,
|
||||
foreignKeys = {
|
||||
@@ -37,6 +39,7 @@ public class EntitySearch {
|
||||
public Long id;
|
||||
@NonNull
|
||||
public String name;
|
||||
public Integer color;
|
||||
@NonNull
|
||||
public String data;
|
||||
|
||||
@@ -46,6 +49,7 @@ public class EntitySearch {
|
||||
EntitySearch other = (EntitySearch) obj;
|
||||
return (this.id.equals(other.id) &&
|
||||
this.name.equals(other.name) &&
|
||||
Objects.equals(this.color, other.color) &&
|
||||
this.data.equals(other.data));
|
||||
} else
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user