mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Add call link details screen scaffolding.
This commit is contained in:
@@ -29,4 +29,22 @@ class AvatarColorPair private constructor(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (this === other) return true
|
||||
if (javaClass != other?.javaClass) return false
|
||||
|
||||
other as AvatarColorPair
|
||||
|
||||
if (foregroundColor != other.foregroundColor) return false
|
||||
if (backgroundColor != other.backgroundColor) return false
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
var result = foregroundColor
|
||||
result = 31 * result + backgroundColor
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user