18+ tag to Lewd Check (#336)

This commit is contained in:
Eugene 2021-05-25 23:54:54 +05:00 committed by GitHub
parent 481f600056
commit 99d23a47b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,8 @@ private fun isHentaiTag(tag: String): Boolean {
tag.contains("lewd", true) ||
tag.contains("nsfw", true) ||
tag.contains("erotica", true) ||
tag.contains("pornographic", true)
tag.contains("pornographic", true) ||
tag.contains("18+", true)
}
private fun isHentaiSource(source: String): Boolean {