mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 09:24:34 -05:00
Lint
This commit is contained in:
@@ -199,11 +199,12 @@ object Extension {
|
||||
it[versionCode] = packageInfo.versionCode.toLong()
|
||||
it[lang] = extensionLang
|
||||
// todo will change
|
||||
it[contentRating] = if (isNsfw) {
|
||||
ContentRating.PORNOGRAPHIC.ordinal
|
||||
} else {
|
||||
ContentRating.SAFE.ordinal
|
||||
}
|
||||
it[contentRating] =
|
||||
if (isNsfw) {
|
||||
ContentRating.PORNOGRAPHIC.ordinal
|
||||
} else {
|
||||
ContentRating.SAFE.ordinal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user