[YuriGarden] Replace SAFE with SUGGESTIVE

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

Loading…
Cancel
Save