Use Enum.entries instead of Enum.values()

This commit is contained in:
S1m 2024-01-16 23:04:25 +01:00
parent 04e76170e9
commit b787b0f9b8
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ enum class AccountType {
}
private fun Int.toAccountType(): AccountType {
return AccountType.values().getOrNull(this) ?: AccountType.SSO
return AccountType.entries.getOrNull(this) ?: AccountType.SSO
}
object Account {