diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/sync/SyncManager.kt b/app/src/main/java/eu/kanade/tachiyomi/data/sync/SyncManager.kt index 5e3ba5054..ba2dc8b2c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/sync/SyncManager.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/sync/SyncManager.kt @@ -60,7 +60,7 @@ class SyncManager( ; companion object { - fun fromInt(value: Int) = values().firstOrNull { it.value == value } ?: NONE + fun fromInt(value: Int) = entries.firstOrNull { it.value == value } ?: NONE } }