diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/model/Manga.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/model/Manga.kt index 86c1be8e..7ff1874d 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/model/Manga.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/model/Manga.kt @@ -176,6 +176,7 @@ public data class Manga( public val hasRating: Boolean get() = rating > 0f && rating <= 1f + @Deprecated("Use contentRating instead", ReplaceWith("contentRating == ContentRating.ADULT")) public val isNsfw: Boolean get() = contentRating == ContentRating.ADULT