[YuriGarden] Replace SAFE with SUGGESTIVE

Draken 12 months ago committed by GitHub
parent 0507ed8d59
commit 276349e23c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -128,7 +128,7 @@ internal abstract class YuriGardenParser(
else -> null
},
description = jo.getString("description"),
contentRating = if (jo.getBooleanOrDefault("r18", false)) ContentRating.ADULT else ContentRating.SAFE,
contentRating = if (jo.getBooleanOrDefault("r18", false)) ContentRating.ADULT else ContentRating.SUGGESTIVE,
source = source,
rating = jo.getFloatOrDefault("rating", -5f) / 5f,
)
@ -163,7 +163,7 @@ internal abstract class YuriGardenParser(
contentRating = if (json.getBooleanOrDefault("r18", false)) {
ContentRating.ADULT
} else {
ContentRating.SAFE
ContentRating.SUGGESTIVE
},
authors = authors,
tags = tags,
@ -219,4 +219,4 @@ internal abstract class YuriGardenParser(
)
}
}
}
}

Loading…
Cancel
Save