refactor: Ktlint and replace enum.values with Enum.entries.

Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
KaiserBh 2023-12-29 02:07:10 +11:00
parent 37033cbfc3
commit c456ca9a58
No known key found for this signature in database
GPG Key ID: 14D73B142042BBA9

View File

@ -60,7 +60,7 @@ class SyncManager(
; ;
companion object { companion object {
fun fromInt(value: Int) = values().firstOrNull { it.value == value } ?: NONE fun fromInt(value: Int) = entries.firstOrNull { it.value == value } ?: NONE
} }
} }