fix mdlist
(cherry picked from commit ebf5e492ca8dcc6771349b631ebf7661dfbb7d44) # Conflicts: # app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/FollowsHandler.kt # app/src/main/java/exh/md/utils/FollowStatus.kt
This commit is contained in:
@@ -10,6 +10,6 @@ enum class FollowStatus(val int: Int) {
|
||||
RE_READING(6);
|
||||
|
||||
companion object {
|
||||
fun fromInt(value: Int): FollowStatus? = values().find { it.int == value }
|
||||
fun fromInt(value: Int): FollowStatus = FollowStatus.values().find { it.int == value } ?: UNFOLLOWED
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user