Deprecate Manga.isNsfw

This commit is contained in:
2025-03-12 13:01:43 +02:00
parent 3c62f4280f
commit a82e41aabb

View File

@@ -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