mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
fix some LocalContact related warnings
This commit is contained in:
parent
ba108340b1
commit
79e46c43d5
@ -25,4 +25,9 @@ data class LocalContact(
|
||||
@ColumnInfo(name = "company") var company: String,
|
||||
@ColumnInfo(name = "job_position") var jobPosition: String,
|
||||
@ColumnInfo(name = "websites") var websites: ArrayList<String>,
|
||||
@ColumnInfo(name = "ims") var IMs: ArrayList<IM>)
|
||||
@ColumnInfo(name = "ims") var IMs: ArrayList<IM>) {
|
||||
|
||||
override fun equals(other: Any?) = this.id == (other as? LocalContact?)?.id
|
||||
|
||||
override fun hashCode() = id ?: 0
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user