mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
committed by
Greyson Parrelli
parent
be92b3cf0a
commit
cafbf48783
@@ -565,7 +565,7 @@ class AccountValues internal constructor(store: KeyValueStore, context: Context)
|
||||
|
||||
companion object {
|
||||
fun deserialize(value: Long): UsernameSyncState {
|
||||
return values().firstOrNull { it.value == value } ?: throw IllegalArgumentException("Invalid value: $value")
|
||||
return entries.firstOrNull { it.value == value } ?: throw IllegalArgumentException("Invalid value: $value")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user