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:
Carlos
2021-01-10 10:23:25 -05:00
committed by Jobobby04
parent 33fac3e96b
commit 6bb7b676bd
3 changed files with 23 additions and 10 deletions
@@ -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
}
}