mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-03 12:37:31 +01:00
fix warning equals but no hashcode
This commit is contained in:
parent
4ecbf87cda
commit
70508544cd
@ -27,6 +27,10 @@ class BackupRecoveryKey(private val key: ByteArray) : IBackupRecoveryKey {
|
|||||||
return this.toBase58() == other.toBase58()
|
return this.toBase58() == other.toBase58()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun hashCode(): Int {
|
||||||
|
return key.contentHashCode()
|
||||||
|
}
|
||||||
|
|
||||||
override fun toBase58() = computeRecoveryKey(key)
|
override fun toBase58() = computeRecoveryKey(key)
|
||||||
|
|
||||||
override fun toBase64() = key.toBase64NoPadding()
|
override fun toBase64() = key.toBase64NoPadding()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user